Changeset 14411


Ignorieren:
Zeitstempel:
08.09.2017 21:36:37 (vor 2 Wochen)
Autor:
er13
Nachricht:

package Makefiles:

  • use PKG_ADD_EXTRA_FLAGS macro introduced in r14374 as much as possible
Ort:
trunk/make
Dateien:
4 gelöscht
9 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/asterisk-chan-sccp/asterisk-chan-sccp.mk

    r13648 r14411  
    1818 
    1919$(PKG)_CONFIGURE_PRE_CMDS += $(AUTORECONF) 
    20 # add EXTRA_(C|LD)FLAGS 
    21 $(PKG)_CONFIGURE_PRE_CMDS += find $(abspath $($(PKG)_DIR)) -name Makefile.in -type f -exec $(SED) -i -r -e 's,^(C|LD)FLAGS[ \t]*=[ \t]*@\1FLAGS@,& $$$$(EXTRA_\1FLAGS),' \{\} \+; 
     20$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS) 
    2221 
    2322$(PKG)_CONFIGURE_ENV += SCCP_REVISION=$(ASTERISK_CHAN_SCCP_VERSION) 
  • trunk/make/isc-dhcp/isc-dhcp.mk

    r13648 r14411  
    1212$(PKG)_CONFIGURE_PRE_CMDS += $(AUTORECONF) 
    1313$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_PREVENT_RPATH_HARDCODING,./configure) 
    14  
    15 # add EXTRA_CFLAGS, EXTRA_LDFLAGS variables to all Makefile.in's 
    16 $(PKG)_CONFIGURE_PRE_CMDS += $(SED) -i -r -e 's,^((C|LD)FLAGS)[ \t]*=[ \t]*@\1@,& $$$$(EXTRA_\1),' `find . -name Makefile.in`; 
     14$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS) 
    1715 
    1816$(PKG)_MAKE_OPTIONS := -C $($(PKG)_DIR) 
  • trunk/make/minidlna/minidlna.mk

    r14335 r14411  
    55 
    66$(PKG)_CONDITIONAL_PATCHES+=$(FREETZ_PACKAGE_MINIDLNA_LANG) 
     7 
     8$(PKG)_PATCH_POST_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS|LIBS) 
    79 
    810$(PKG)_BINARY := $($(PKG)_DIR)/minidlnad 
  • trunk/make/nzbget/nzbget.mk

    r12764 r14411  
    33$(PKG)_SOURCE_SHA1:=671c0d0b554643e1b58665004c65519a330766db 
    44$(PKG)_SITE:=@SF/$(pkg) 
     5 
     6$(PKG)_PATCH_POST_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(CXX|LD)FLAGS) 
    57 
    68$(PKG)_BINARY:=$($(PKG)_DIR)/$(pkg) 
  • trunk/make/openvpn/openvpn.mk

    r14315 r14411  
    5555$(PKG)_CONFIGURE_ENV += $(pkg)_path_ROUTE=/sbin/route 
    5656 
    57 # add EXTRA_CFLAGS, EXTRA_LDFLAGS, EXTRA_LIBS make variables 
    58 $(PKG)_CONFIGURE_PRE_CMDS += find $(abspath $($(PKG)_DIR)) -name Makefile.in -type f -exec $(SED) -i -r -e 's,^((C|LD)FLAGS|LIBS)[ \t]*=[ \t]*@\1@,& $$$$(EXTRA_\1),' \{\} \+; 
     57$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS|LIBS) 
    5958 
    6059$(PKG)_EXTRA_CFLAGS  += -ffunction-sections -fdata-sections 
  • trunk/make/tinc/tinc.mk

    r14363 r14411  
    77 
    88$(PKG)_CONDITIONAL_PATCHES+=$(if $(FREETZ_PACKAGE_TINC_VERSION_1_1),1.1,1.0) 
     9 
     10$(PKG)_PATCH_POST_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS,src) 
    911 
    1012$(PKG)_BINARY:=$($(PKG)_DIR)/src/tincd 
  • trunk/make/tor/tor.mk

    r14371 r14411  
    3535 
    3636# add EXTRA_(C|LD)FLAGS 
    37 $(PKG)_CONFIGURE_PRE_CMDS += find $(abspath $($(PKG)_DIR)) -name Makefile.in -type f -exec $(SED) -i -r -e 's,^(C|LD)FLAGS[ \t]*=[ \t]*@\1FLAGS@,& $$$$(EXTRA_\1FLAGS),' \{\} \+; 
     37$(PKG)_PATCH_POST_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS) 
    3838 
    3939$(PKG)_EXTRA_CFLAGS  += -ffunction-sections -fdata-sections 
  • trunk/make/transmission/transmission.mk

    r13667 r14411  
    6666 
    6767# add EXTRA_(C|LD)FLAGS 
    68 $(PKG)_CONFIGURE_PRE_CMDS += find $(abspath $($(PKG)_DIR)) -name Makefile.in -type f -exec $(SED) -i -r -e 's,^(C|LD)FLAGS[ \t]*=[ \t]*@\1FLAGS@,& $$$$(EXTRA_\1FLAGS),' \{\} \+; 
     68$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS) 
    6969$(PKG)_EXTRA_CFLAGS  += -ffunction-sections -fdata-sections 
    7070$(PKG)_EXTRA_LDFLAGS += -Wl,--gc-sections 
  • trunk/make/zabbix/zabbix.mk

    r13368 r14411  
    2121$(PKG)_REBUILD_SUBOPTS += FREETZ_TARGET_IPV6_SUPPORT 
    2222 
    23 # add EXTRA_(C|LD)FLAGS 
    24 $(PKG)_CONFIGURE_PRE_CMDS += find $(abspath $($(PKG)_DIR)) -name Makefile.in -type f -exec $(SED) -i -r -e 's,^(C|LD)FLAGS[ \t]*=[ \t]*@\1FLAGS@,& $$$$(EXTRA_\1FLAGS),' \{\} \+; 
     23$(PKG)_PATCH_POST_CMDS += $(call PKG_ADD_EXTRA_FLAGS,(C|LD)FLAGS) 
    2524 
    2625$(PKG)_CONFIGURE_OPTIONS += $(if $(FREETZ_TARGET_IPV6_SUPPORT),--enable-ipv6,--disable-ipv6) 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.