summaryrefslogtreecommitdiff
path: root/package/gpsd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
commit573b06af740b3f1966aa2ea190494d9c87270786 (patch)
treed2f5dd29803ad5bbca171bfff9b1ece4ef3d5b3c /package/gpsd/Makefile
parent42ed8eb00eba8691994588b7fca5dbd04d92a59c (diff)
parent3953de124e87ce3b594fd861b6f111b2df706753 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gpsd/Makefile')
-rw-r--r--package/gpsd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile
index 24536e5c1..025e525b2 100644
--- a/package/gpsd/Makefile
+++ b/package/gpsd/Makefile
@@ -30,7 +30,7 @@ CONFIGURE_ENV+= EGREP="grep -E" \
ac_cv_func_strlcat=no \
ac_cv_lib_nsl_gethostbyname=no
CONFIGURE_ARGS+= --disable-dbus
-TCFLAGS+= -fPIC
+TARGET_CFLAGS+= -fPIC
LIBRARIES:=-nodefaultlibs -luClibc++
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
@@ -38,11 +38,11 @@ LIBRARIES+=-lssp -lssp_nonshared
endif
ifeq ($(ADK_COMPILE_GPSD_WITH_UCLIBCXX),y)
-TCXXFLAGS+= -fno-rtti -nostdinc++ \
+TARGET_CXXFLAGS+= -fno-rtti -nostdinc++ \
-I${STAGING_TARGET_DIR}/usr/include/uClibc++
-TLDFLAGS+= $(LIBRARIES)
+TARGET_LDFLAGS+= $(LIBRARIES)
else
-TLDFLAGS+= -shared -pthread
+TARGET_LDFLAGS+= -shared -pthread
endif
ifeq (${ADK_COMPILE_GPSD_WITH_UCLIBCXX},y)