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 @@
|
||||
include $(GENERAL_RULES)/Clang/c++
|
||||
|
||||
CC = armclang++ -std=c++11
|
||||
CC = armclang++ -std=c++11 -mcpu=native
|
||||
|
||||
include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION)
|
||||
|
||||
@ -13,5 +13,5 @@ cpptoo = $(Ctoo)
|
||||
|
||||
LINK_LIBS = $(c++DBUG)
|
||||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared
|
||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -shared -armpl
|
||||
LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -armpl
|
||||
|
||||
Reference in New Issue
Block a user