- with -mcpu=native for automatic detection and -armpl for linking in the performance libraries STYLE: relocate -mcpu into compiler instead of compiler-flags (#1225)
17 lines
377 B
Plaintext
17 lines
377 B
Plaintext
SUFFIXES += .c
|
|
|
|
cc = gcc -mcpu=cortex-a9
|
|
|
|
cWARN = -Wall
|
|
|
|
include $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION)
|
|
|
|
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
|
|
|
LINK_LIBS = $(cDBUG)
|
|
|
|
LINKLIBSO = $(cc) -shared
|
|
LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs
|