source:
freewrt/package/libupnp/patches/opt-flags.patch@
d419478
| Last change on this file since d419478 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| 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 47 47 STRIP = strip 48 48 endif 49 49 50 OPT_FLAGS = -Os 51 50 52 ifeq ($(INSURE), 1) 51 53 CC = insure 52 54 endif … … 71 73 ifeq ($(DEBUG),1) 72 74 DEBUG_FLAGS = -O -g -DDEBUG 73 75 else 74 DEBUG_FLAGS = -Os-DNDEBUG76 DEBUG_FLAGS = $(OPT_FLAGS) -DNDEBUG 75 77 STRIPU = $(STRIP) $(OBJ_DIR)/$(TARGET_OUTPUT) 76 78 endif 77 79 -
threadutil/src/Makefile
diff -ruN libupnp-1.2.1-orig/threadutil/src/Makefile libupnp-1.2.1-1/threadutil/src/Makefile
old new 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 DEPDIR = .deps 48 50 df = $(DEPDIR)/$(*F) 49 51 … … 74 76 OBJ_DIR = obj/debug/$(DIR_PATH) 75 77 CLEAN_PATH=debug/$(DIR_PATH) 76 78 else 77 DEBUG_FLAGS += -Os-DNO_DEBUG -DNDEBUG79 DEBUG_FLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 78 80 LOCALDIR +=../bin/$(DIR_PATH) 79 81 TARGET_OUTPUT = libthreadutil.so 80 82 OBJ_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 43 43 STRIP = strip 44 44 endif 45 45 46 OPT_FLAGS = -Os 47 46 48 ifeq ($(INSURE), 1) 47 49 CC = insure 48 50 endif … … 64 66 OBJ_DIR = obj/debug/$(DIR_PATH) 65 67 UPNP_LIB_DIR = ../lib/debug/$(DIR_PATH) 66 68 else 67 CFLAGS += -Os-DNDEBUG69 CFLAGS += $(OPT_FLAGS) -DNDEBUG 68 70 OBJ_DIR = obj/$(DIR_PATH) 69 71 UPNP_LIB_DIR = ../lib/$(DIR_PATH) 70 72 endif -
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 43 43 STRIP = strip 44 44 endif 45 45 46 OPT_FLAGS = -Os 47 46 48 ifeq ($(INSURE),1) 47 49 CC=insure 48 50 endif … … 60 62 OBJ_DIR = obj/debug/$(DIR_PATH) 61 63 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 62 64 else 63 CFLAGS += -Os-DNO_DEBUG -DNDEBUG65 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 64 66 OBJ_DIR = obj/$(DIR_PATH) 65 67 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 66 68 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 ifeq ($(INSURE),1) 48 50 CC=insure 49 51 endif … … 73 75 else 74 76 OBJ_DIR = obj/$(DIR_PATH) 75 77 UPNP_LIB_DIR = ../../lib/$(DIR_PATH) 76 CFLAGS += -Os-D_REENTRANT -DNO_DEBUG -DNDEBUG78 CFLAGS += $(OPT_FLAGS) -D_REENTRANT -DNO_DEBUG -DNDEBUG 77 79 endif 78 80 79 81 TARGET_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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 ifeq ($(INSURE),1) 48 50 CC=insure 49 51 endif … … 60 62 OBJ_DIR = obj/debug/$(DIR_PATH) 61 63 UPNP_LIB_DIR = ../../lib/debug/$(DIR_PATH) 62 64 else 63 CFLAGS += -Os-DNO_DEBUG -DNDEBUG65 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 64 66 OBJ_DIR = obj/$(DIR_PATH) 65 67 UPNP_LIB_DIR = ../../lib/$(DIR_PATH) 66 68 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 LIBS=../../lib 48 50 UPNP_INC_DIR = -I../../inc -I../../../inc -I ../../../../threadutil/src/win32 \ 49 51 -I ../../../../threadutil/src -I ../../../../ixml/inc … … 59 61 OBJ_DIR = obj/debug/$(DIR_PATH) 60 62 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 61 63 else 62 CFLAGS += -Os-DNO_DEBUG -DNDEBUG64 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 63 65 OBJ_DIR = obj/$(DIR_PATH) 64 66 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 65 67 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 UPNP_INC_DIR = -I ../../../../inc -I ../../../inc \ 48 50 -I ../../../../../threadutil/src/win32 \ 49 51 -I ../../../../../threadutil/src -I ../../../../../ixml/inc … … 57 59 OBJ_DIR = obj/debug/$(DIR_PATH) 58 60 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 59 61 else 60 CFLAGS += -Os-DNO_DEBUG -DNDEBUG62 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 61 63 OBJ_DIR = obj/$(DIR_PATH) 62 64 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 63 65 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 LIBS = ../../../lib 48 50 49 51 … … 59 61 OBJ_DIR = obj/debug/$(DIR_PATH) 60 62 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 61 63 else 62 CFLAGS += -Os-DNO_DEBUG -DNDEBUG64 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 63 65 OBJ_DIR = obj/$(DIR_PATH) 64 66 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 65 67 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 ifeq ($(INSURE),1) 48 50 CC=insure 49 51 endif … … 61 63 OBJ_DIR = obj/debug/$(DIR_PATH) 62 64 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 63 65 else 64 CFLAGS += -Os-DNO_DEBUG -DNDEBUG66 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 65 67 OBJ_DIR = obj/$(DIR_PATH) 66 68 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 67 69 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 ifeq ($(INSURE),1) 48 50 CC=insure 49 51 endif … … 62 64 OBJ_DIR = obj/debug/$(DIR_PATH) 63 65 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 64 66 else 65 CFLAGS += -Os-DNO_DEBUG -DNDEBUG67 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 66 68 OBJ_DIR = obj/$(DIR_PATH) 67 69 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 68 70 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 ifeq ($(INSURE),1) 48 50 CC = insure 49 51 endif … … 61 63 OBJ_DIR = obj/debug/$(DIR_PATH) 62 64 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 63 65 else 64 CFLAGS += -Os-DNO_DEBUG -DNDEBUG66 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 65 67 OBJ_DIR = obj/$(DIR_PATH) 66 68 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 67 69 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 ifeq ($(INSURE),1) 48 50 CC = insure 49 51 endif … … 61 63 OBJ_DIR = obj/debug/$(DIR_PATH) 62 64 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 63 65 else 64 CFLAGS += -Os-DNO_DEBUG -DNDEBUG66 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 65 67 OBJ_DIR = obj/$(DIR_PATH) 66 68 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 67 69 endif -
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 43 43 STRIP = strip 44 44 endif 45 45 46 OPT_FLAGS = -Os 47 46 48 ifeq ($(INSURE),1) 47 49 CC = insure 48 50 endif … … 60 62 OBJ_DIR = obj/debug/$(DIR_PATH) 61 63 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 62 64 else 63 CFLAGS += -Os-DNO_DEBUG -DNDEBUG65 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 64 66 OBJ_DIR = obj/$(DIR_PATH) 65 67 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 66 68 endif -
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 44 44 STRIP = strip 45 45 endif 46 46 47 OPT_FLAGS = -Os 48 47 49 ifeq ($(INSURE),1) 48 50 CC = insure 49 51 endif … … 61 63 OBJ_DIR = obj/debug/$(DIR_PATH) 62 64 UPNP_LIB_DIR = $(LIBS)/debug/$(DIR_PATH) 63 65 else 64 CFLAGS += -Os-DNO_DEBUG -DNDEBUG66 CFLAGS += $(OPT_FLAGS) -DNO_DEBUG -DNDEBUG 65 67 OBJ_DIR = obj/$(DIR_PATH) 66 68 UPNP_LIB_DIR = $(LIBS)/$(DIR_PATH) 67 69 endif
Note:
See TracBrowser
for help on using the repository browser.
