aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/ugps
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-04-18 17:42:02 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-04-18 21:06:45 +0200
commit70a962ca6f13e82d8d67f5c8ee65064a41f66a9c (patch)
tree40c0160df996409ed63126b66d699695d49e715a /package/utils/ugps
parent7637b84fde99153691d02b7b15c993bc89a0dd02 (diff)
downloadupstream-70a962ca6f13e82d8d67f5c8ee65064a41f66a9c.tar.gz
upstream-70a962ca6f13e82d8d67f5c8ee65064a41f66a9c.tar.bz2
upstream-70a962ca6f13e82d8d67f5c8ee65064a41f66a9c.zip
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>
Diffstat (limited to 'package/utils/ugps')
-rw-r--r--package/utils/ugps/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/utils/ugps/Makefile b/package/utils/ugps/Makefile
index 6eae5afbcf..85c64533d1 100644
--- a/package/utils/ugps/Makefile
+++ b/package/utils/ugps/Makefile
@@ -31,10 +31,6 @@ endef
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
-ifneq ($(CONFIG_USE_GLIBC),)
- TARGET_CFLAGS += -D_DEFAULT_SOURCE
-endif
-
define Package/ugps/conffiles
/etc/config/gps
endef