[packages_10.03.2] merge r30319
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 5 Feb 2012 20:27:26 +0000 (20:27 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 5 Feb 2012 20:27:26 +0000 (20:27 +0000)
SVN-Revision: 30320

net/httping/Makefile

index a2c611819651fcfd12f12a07afa2ac8b1f544dac..cb188642b6d9c936b602179ef89130c69604a62b 100644 (file)
@@ -56,13 +56,11 @@ define Package/httping-nossl/description
        This package is built without SSL support.
 endef
 
-MAKE_FLAGS += \
-       CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
+TARGET_CFLAGS += -D_GNU_SOURCE
 
 ifeq ($(BUILD_VARIANT),nossl)
-       MAKE_FLAGS += \
-               SSL="no" \
-               CFLAGS+="-DNO_SSL"
+       MAKE_FLAGS += SSL="no"
+       TARGET_CFLAGS += -DNO_SSL
 endif
 
 define Package/httping/install