bcg729: add OpenWrt CPPFLAGS
Add TARGET_CPPFLAGS to TARGET_CFLAGS, otherwise OpenWrt's CPPFLAGS are ignored (i.e. fortify-source headers are not picked up). Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
9a034c9775
commit
2341abf358
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006-2017 OpenWrt.org
|
# Copyright (C) 2006-2018 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -40,9 +40,11 @@ define Package/bcg729/description
|
||||||
source code in any kind.
|
source code in any kind.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
# Otherwise spandsp ignores OpenWrt's CPPFLAGS
|
||||||
|
TARGET_CFLAGS += $(FPIC) $(TARGET_CPPFLAGS)
|
||||||
|
|
||||||
CMAKE_OPTIONS += \
|
CMAKE_OPTIONS += \
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
||||||
-DENABLE_SHARED=YES \
|
-DENABLE_SHARED=YES \
|
||||||
-DENABLE_STATIC=NO \
|
-DENABLE_STATIC=NO \
|
||||||
-DENABLE_TESTS=NO
|
-DENABLE_TESTS=NO
|
||||||
|
|
Loading…
Reference in a new issue