source: freewrt/package/libupnp/patches/opt-flags.patch@ 428f140

freewrt_1_0 freewrt_2_0
Last change on this file since 428f140 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 9.3 KB
  • ixml/src/Makefile

    diff -ruN libupnp-1.2.1-orig/ixml/src/Makefile libupnp-1.2.1-1/ixml/src/Makefile
    old new  
    4747  STRIP = strip
    4848endif
    4949
     50OPT_FLAGS = -Os
     51
    5052ifeq ($(INSURE), 1)
    5153  CC = insure
    5254endif
     
    7173ifeq ($(DEBUG),1)
    7274  DEBUG_FLAGS = -O -g -DDEBUG
    7375else
    74   DEBUG_FLAGS = -Os -DNDEBUG
     76  DEBUG_FLAGS = $(OPT_FLAGS) -DNDEBUG
    7577  STRIPU      = $(STRIP) $(OBJ_DIR)/$(TARGET_OUTPUT)
    7678endif
    7779
  • threadutil/src/Makefile

    diff -ruN libupnp-1.2.1-orig/threadutil/src/Makefile libupnp-1.2.1-1/threadutil/src/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749DEPDIR = .deps
    4850df = $(DEPDIR)/$(*F)
    4951
     
    7476OBJ_DIR = obj/debug/$(DIR_PATH)
    7577CLEAN_PATH=debug/$(DIR_PATH)
    7678else
    77 DEBUG_FLAGS += -Os -DNO_DEBUG -DNDEBUG
     79DEBUG_FLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG
    7880LOCALDIR +=../bin/$(DIR_PATH)
    7981TARGET_OUTPUT = libthreadutil.so
    8082OBJ_DIR = obj/$(DIR_PATH)
  • upnp/src/api/makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/api/makefile libupnp-1.2.1-1/upnp/src/api/makefile
    old new  
    4343STRIP = strip
    4444endif
    4545
     46OPT_FLAGS = -Os
     47
    4648ifeq ($(INSURE), 1)
    4749CC = insure
    4850endif
     
    6466OBJ_DIR = obj/debug/$(DIR_PATH)
    6567UPNP_LIB_DIR = ../lib/debug/$(DIR_PATH)
    6668else
    67 CFLAGS += -Os -DNDEBUG
     69CFLAGS += $(OPT_FLAGS) -DNDEBUG
    6870OBJ_DIR = obj/$(DIR_PATH)
    6971UPNP_LIB_DIR = ../lib/$(DIR_PATH)
    7072endif
  • upnp/src/gena/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/gena/Makefile libupnp-1.2.1-1/upnp/src/gena/Makefile
    old new  
    4343STRIP = strip
    4444endif
    4545
     46OPT_FLAGS = -Os
     47
    4648ifeq ($(INSURE),1)
    4749CC=insure
    4850endif
     
    6062OBJ_DIR = obj/debug/$(DIR_PATH)
    6163UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6264else
    63 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     65CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6466OBJ_DIR = obj/$(DIR_PATH)
    6567UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6668endif
  • upnp/src/genlib/client_table/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/genlib/client_table/Makefile libupnp-1.2.1-1/upnp/src/genlib/client_table/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749ifeq ($(INSURE),1)
    4850CC=insure
    4951endif
     
    7375else
    7476OBJ_DIR = obj/$(DIR_PATH)
    7577UPNP_LIB_DIR = ../../lib/$(DIR_PATH)
    76 CFLAGS += -Os -D_REENTRANT -DNO_DEBUG -DNDEBUG
     78CFLAGS += $(OPT_FLAGS) -D_REENTRANT -DNO_DEBUG -DNDEBUG
    7779endif
    7880
    7981TARGET_OUTPUT = $(UPNP_LIB_DIR)client_table.o
  • upnp/src/genlib/miniserver/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/genlib/miniserver/Makefile libupnp-1.2.1-1/upnp/src/genlib/miniserver/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749ifeq ($(INSURE),1)
    4850CC=insure
    4951endif
     
    6062OBJ_DIR = obj/debug/$(DIR_PATH)
    6163UPNP_LIB_DIR = ../../lib/debug/$(DIR_PATH)
    6264else
    63 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     65CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6466OBJ_DIR = obj/$(DIR_PATH)
    6567UPNP_LIB_DIR = ../../lib/$(DIR_PATH)
    6668endif
  • upnp/src/genlib/net/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/genlib/net/Makefile libupnp-1.2.1-1/upnp/src/genlib/net/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749LIBS=../../lib
    4850UPNP_INC_DIR = -I../../inc -I../../../inc -I ../../../../threadutil/src/win32 \
    4951        -I ../../../../threadutil/src -I ../../../../ixml/inc
     
    5961OBJ_DIR = obj/debug/$(DIR_PATH)
    6062UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6163else
    62 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     64CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6365OBJ_DIR = obj/$(DIR_PATH)
    6466UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6567endif
  • upnp/src/genlib/net/http/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/genlib/net/http/Makefile libupnp-1.2.1-1/upnp/src/genlib/net/http/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749UPNP_INC_DIR = -I ../../../../inc -I ../../../inc  \
    4850        -I ../../../../../threadutil/src/win32 \
    4951        -I ../../../../../threadutil/src -I ../../../../../ixml/inc
     
    5759OBJ_DIR = obj/debug/$(DIR_PATH)
    5860UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    5961else
    60 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     62CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6163OBJ_DIR = obj/$(DIR_PATH)
    6264UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6365endif
  • upnp/src/genlib/net/uri/makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/genlib/net/uri/makefile libupnp-1.2.1-1/upnp/src/genlib/net/uri/makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749LIBS = ../../../lib
    4850
    4951
     
    5961OBJ_DIR = obj/debug/$(DIR_PATH)
    6062UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6163else
    62 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     64CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6365OBJ_DIR = obj/$(DIR_PATH)
    6466UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6567endif
  • upnp/src/genlib/service_table/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/genlib/service_table/Makefile libupnp-1.2.1-1/upnp/src/genlib/service_table/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749ifeq ($(INSURE),1)
    4850CC=insure
    4951endif
     
    6163OBJ_DIR = obj/debug/$(DIR_PATH)
    6264UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6365else
    64 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     66CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6567OBJ_DIR = obj/$(DIR_PATH)
    6668UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6769endif
  • upnp/src/genlib/util/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/genlib/util/Makefile libupnp-1.2.1-1/upnp/src/genlib/util/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749ifeq ($(INSURE),1)
    4850CC=insure
    4951endif
     
    6264OBJ_DIR = obj/debug/$(DIR_PATH)
    6365UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6466else
    65 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     67CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6668OBJ_DIR = obj/$(DIR_PATH)
    6769UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6870endif
  • upnp/src/soap/makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/soap/makefile libupnp-1.2.1-1/upnp/src/soap/makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749ifeq ($(INSURE),1)
    4850CC = insure
    4951endif
     
    6163OBJ_DIR = obj/debug/$(DIR_PATH)
    6264UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6365else
    64 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     66CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6567OBJ_DIR = obj/$(DIR_PATH)
    6668UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6769endif
  • upnp/src/ssdp/makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/ssdp/makefile libupnp-1.2.1-1/upnp/src/ssdp/makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749ifeq ($(INSURE),1)
    4850CC = insure
    4951endif
     
    6163OBJ_DIR = obj/debug/$(DIR_PATH)
    6264UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6365else
    64 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     66CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6567OBJ_DIR = obj/$(DIR_PATH)
    6668UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6769endif
  • upnp/src/urlconfig/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/urlconfig/Makefile libupnp-1.2.1-1/upnp/src/urlconfig/Makefile
    old new  
    4343STRIP = strip
    4444endif
    4545
     46OPT_FLAGS = -Os
     47
    4648ifeq ($(INSURE),1)
    4749CC = insure
    4850endif
     
    6062OBJ_DIR = obj/debug/$(DIR_PATH)
    6163UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6264else
    63 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     65CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6466OBJ_DIR = obj/$(DIR_PATH)
    6567UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6668endif
  • upnp/src/uuid/Makefile

    diff -ruN libupnp-1.2.1-orig/upnp/src/uuid/Makefile libupnp-1.2.1-1/upnp/src/uuid/Makefile
    old new  
    4444STRIP = strip
    4545endif
    4646
     47OPT_FLAGS = -Os
     48
    4749ifeq ($(INSURE),1)
    4850CC = insure
    4951endif
     
    6163OBJ_DIR = obj/debug/$(DIR_PATH)
    6264UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH)
    6365else
    64 CFLAGS += -Os  -DNO_DEBUG -DNDEBUG
     66CFLAGS += $(OPT_FLAGS)  -DNO_DEBUG -DNDEBUG
    6567OBJ_DIR = obj/$(DIR_PATH)
    6668UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH)
    6769endif
Note: See TracBrowser for help on using the repository browser.