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:
Mark Olesen
2019-03-01 18:20:41 +01:00
parent ad0709b832
commit bb94f5aa86
4 changed files with 8 additions and 8 deletions

View File

@ -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