mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 08:48:08 +00:00
upgs: Remove extra _DEFAULT_SOURCE definition
This extra _DEFAULT_SOURCE definition results in a double definition which is a compile error. This fixes the following compile error with glibc: ---------------------------------------------------------------------- ugps-2019-06-25-cd7eabcd/nmea.c:19: error: "_DEFAULT_SOURCE" redefined [-Werror] #define _DEFAULT_SOURCE <command-line>: note: this is the location of the previous definition cc1: all warnings being treated as errors Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
7637b84fde
commit
70a962ca6f
@ -31,10 +31,6 @@ endef
|
|||||||
|
|
||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
||||||
|
|
||||||
ifneq ($(CONFIG_USE_GLIBC),)
|
|
||||||
TARGET_CFLAGS += -D_DEFAULT_SOURCE
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Package/ugps/conffiles
|
define Package/ugps/conffiles
|
||||||
/etc/config/gps
|
/etc/config/gps
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user