mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: adjust ARM compilation flags (#1225)
- with -mcpu=native for automatic detection and -armpl for linking in the performance libraries
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
SUFFIXES += .c
|
||||
|
||||
cc = armclang
|
||||
cc = armclang -mpcu=native
|
||||
|
||||
cWARN = -Wall
|
||||
|
||||
@ -12,5 +12,5 @@ ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
||||
|
||||
LINK_LIBS = $(cDBUG)
|
||||
|
||||
LINKLIBSO = $(cc) -shared
|
||||
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|
||||
LINKLIBSO = $(cc) -shared -armpl
|
||||
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs -armpl
|
||||
|
||||
Reference in New Issue
Block a user