Changeset 44843


Ignore:
Timestamp:
2015-03-16T13:32:22+01:00 (3 years ago)
Author:
nico
Message:

packages: more (e)glibc fixes after r44701

_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc

Signed-off-by: Nicolas Thill <nico@…>

Location:
trunk/package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/uhttpd/Makefile

    r44682 r44843  
    108108endef 
    109109 
     110ifneq ($(CONFIG_USE_GLIBC),) 
     111  TARGET_CFLAGS += -D_DEFAULT_SOURCE 
     112endif 
     113 
    110114TARGET_LDFLAGS += -lcrypt 
    111115 
  • trunk/package/utils/ugps/Makefile

    r43151 r44843  
    3333TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include 
    3434 
     35ifneq ($(CONFIG_USE_GLIBC),) 
     36  TARGET_CFLAGS += -D_DEFAULT_SOURCE 
     37endif 
     38 
    3539define Package/ugps/install 
    3640        $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config 
Note: See TracChangeset for help on using the changeset viewer.