mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-09-02 04:59:20 +00:00
fix makefile
This commit is contained in:
parent
1e0e36fd98
commit
a0bb1717d6
@ -341,8 +341,11 @@ CFLAGS := $(strip \
|
||||
-save-temps=obj
|
||||
|
||||
CXXFLAGS := $(strip \
|
||||
$(CPPFLAGS) \
|
||||
$(OPTIMIZATION_FLAGS) \
|
||||
-std=c++11 \
|
||||
$(OPTIMIZATION_FLAGS) $(DEBUG_FLAGS) \
|
||||
$(COMMON_FLAGS) \
|
||||
$(COMMON_WARNING_FLAGS) \
|
||||
$(CXXFLAGS) \
|
||||
$(E21_CPU_CFLAGS) \
|
||||
-nostdlib \
|
||||
-g3 \
|
||||
@ -357,7 +360,9 @@ CXXFLAGS := $(strip \
|
||||
-Wswitch-default \
|
||||
-Wunused \
|
||||
-Wundef \
|
||||
-fno-rtti -fno-exceptions)
|
||||
-fno-rtti -fno-exceptions \
|
||||
-save-temps=obj \
|
||||
)
|
||||
|
||||
export CFLAGS CPPFLAGS CXXFLAGS ASMFLAGS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user