From 6cd6bf7d806f7edf17ec341d197a5c54bbdcaa73 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 31 Aug 2007 16:16:33 +0000 Subject: Updated the Makefiles removing some of the gcc specific stuff... Basically I moved -funsigned-char -fno-strict-aliasing from individual Makefiles to nan_compile.mk defines for CFLAGS and CCFLAGS Kent --- source/blender/blenkernel/bad_level_call_stubs/Makefile | 4 ---- source/blender/blenkernel/intern/Makefile | 4 ---- source/blender/blenlib/intern/Makefile | 4 ---- source/blender/blenloader/intern/Makefile | 4 ---- source/blender/blenpluginapi/intern/Makefile | 4 ---- source/blender/ftfont/intern/Makefile | 4 ---- source/blender/imbuf/intern/Makefile | 4 ---- source/blender/imbuf/intern/cineon/Makefile | 4 ---- source/blender/imbuf/intern/dds/Makefile | 4 ---- source/blender/imbuf/intern/openexr/Makefile | 4 ---- source/blender/makesdna/intern/Makefile | 4 ---- source/blender/nodes/intern/CMP_nodes/Makefile | 4 ---- source/blender/nodes/intern/Makefile | 4 ---- source/blender/nodes/intern/SHD_nodes/Makefile | 4 ---- source/blender/python/api2_2x/Makefile | 5 ----- source/blender/radiosity/intern/source/Makefile | 4 ---- source/blender/readblenfile/intern/Makefile | 4 ---- source/blender/readblenfile/stub/Makefile | 4 ---- source/blender/readblenfile/test/Makefile | 4 ---- source/blender/render/intern/source/Makefile | 5 ----- source/blender/src/Makefile | 4 ---- source/blender/verify/intern/Makefile | 4 ---- source/blender/yafray/intern/Makefile | 4 ---- 23 files changed, 94 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenkernel/bad_level_call_stubs/Makefile b/source/blender/blenkernel/bad_level_call_stubs/Makefile index 2d98ea5a1af..1d4db1037ea 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/Makefile +++ b/source/blender/blenkernel/bad_level_call_stubs/Makefile @@ -39,10 +39,6 @@ include nan_compile.mk CFLAGS += $(LEVEL_2_C_WARNINGS) CFLAGS += $(FIX_STUBS_WARNINGS) -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CPPFLAGS += $(OGL_CPPFLAGS) CPPFLAGS += -I../../makesdna CPPFLAGS += -I../../include diff --git a/source/blender/blenkernel/intern/Makefile b/source/blender/blenkernel/intern/Makefile index 1d16ebfd4cd..72fcc466de8 100644 --- a/source/blender/blenkernel/intern/Makefile +++ b/source/blender/blenkernel/intern/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd openbsd linux solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) # OpenGL and Python diff --git a/source/blender/blenlib/intern/Makefile b/source/blender/blenlib/intern/Makefile index 0c3f4a486be..68148a1eb37 100644 --- a/source/blender/blenlib/intern/Makefile +++ b/source/blender/blenlib/intern/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - # CPPFLAGS += $(LEVEL_2_CPP_WARNINGS) # path to SDNA types diff --git a/source/blender/blenloader/intern/Makefile b/source/blender/blenloader/intern/Makefile index 86ccd607d63..4fcb0e8db47 100644 --- a/source/blender/blenloader/intern/Makefile +++ b/source/blender/blenloader/intern/Makefile @@ -38,10 +38,6 @@ include nan_compile.mk # CFLAGS += $(LEVEL_2_C_WARNINGS) -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - # OpenGL and Python CPPFLAGS += $(OGL_CPPFLAGS) CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) diff --git a/source/blender/blenpluginapi/intern/Makefile b/source/blender/blenpluginapi/intern/Makefile index 00052d36cfd..e493ea40aa5 100644 --- a/source/blender/blenpluginapi/intern/Makefile +++ b/source/blender/blenpluginapi/intern/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris")) CFLAGS += -shared endif diff --git a/source/blender/ftfont/intern/Makefile b/source/blender/ftfont/intern/Makefile index a9ac8067164..064ec5dc597 100644 --- a/source/blender/ftfont/intern/Makefile +++ b/source/blender/ftfont/intern/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/ftfont include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) #CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include diff --git a/source/blender/imbuf/intern/Makefile b/source/blender/imbuf/intern/Makefile index 29332747a31..09eb487b3a6 100644 --- a/source/blender/imbuf/intern/Makefile +++ b/source/blender/imbuf/intern/Makefile @@ -51,10 +51,6 @@ ifeq ($(WITH_DDS), true) CPPFLAGS += -DWITH_DDS endif -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I$(NAN_JPEG)/include diff --git a/source/blender/imbuf/intern/cineon/Makefile b/source/blender/imbuf/intern/cineon/Makefile index 596a6647093..e61c8dd59ed 100644 --- a/source/blender/imbuf/intern/cineon/Makefile +++ b/source/blender/imbuf/intern/cineon/Makefile @@ -38,10 +38,6 @@ SOURCEDIR = source/blender/imbuf/intern/cineon include nan_compile.mk include nan_definitions.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I$(NAN_JPEG)/include diff --git a/source/blender/imbuf/intern/dds/Makefile b/source/blender/imbuf/intern/dds/Makefile index 2bab1de1fc4..88d59080a47 100644 --- a/source/blender/imbuf/intern/dds/Makefile +++ b/source/blender/imbuf/intern/dds/Makefile @@ -38,10 +38,6 @@ SOURCEDIR = source/blender/imbuf/intern/dds include nan_compile.mk include nan_definitions.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I$(NAN_JPEG)/include diff --git a/source/blender/imbuf/intern/openexr/Makefile b/source/blender/imbuf/intern/openexr/Makefile index 65b9a058e01..a3b79c951dd 100644 --- a/source/blender/imbuf/intern/openexr/Makefile +++ b/source/blender/imbuf/intern/openexr/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/imbuf/openexr include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I../../../makesdna diff --git a/source/blender/makesdna/intern/Makefile b/source/blender/makesdna/intern/Makefile index 84d854064d7..bd498961e7a 100644 --- a/source/blender/makesdna/intern/Makefile +++ b/source/blender/makesdna/intern/Makefile @@ -38,10 +38,6 @@ ALLTARGETS = $(OBJS) $(DIR)/$(DEBUG_DIR)makesdna $(DIR)/$(SHARED_DIR)$(DEBUG_DIR include nan_compile.mk -ifneq ($(OS),irix) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I$(OPENGL_HEADERS) diff --git a/source/blender/nodes/intern/CMP_nodes/Makefile b/source/blender/nodes/intern/CMP_nodes/Makefile index f4de13f2825..036812548b4 100644 --- a/source/blender/nodes/intern/CMP_nodes/Makefile +++ b/source/blender/nodes/intern/CMP_nodes/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd openbsd linux solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I../../../blenkernel diff --git a/source/blender/nodes/intern/Makefile b/source/blender/nodes/intern/Makefile index d4053f13f6e..bae9a8dcf1d 100644 --- a/source/blender/nodes/intern/Makefile +++ b/source/blender/nodes/intern/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd openbsd linux solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I../../blenkernel diff --git a/source/blender/nodes/intern/SHD_nodes/Makefile b/source/blender/nodes/intern/SHD_nodes/Makefile index 46e297bce46..6344af4a5cb 100644 --- a/source/blender/nodes/intern/SHD_nodes/Makefile +++ b/source/blender/nodes/intern/SHD_nodes/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd openbsd linux solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I../../../blenkernel diff --git a/source/blender/python/api2_2x/Makefile b/source/blender/python/api2_2x/Makefile index 159b535d678..8a13adae989 100644 --- a/source/blender/python/api2_2x/Makefile +++ b/source/blender/python/api2_2x/Makefile @@ -38,11 +38,6 @@ CSRCS ?= $(wildcard *.c) $(wildcard ../*.c) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char - CFLAGS += -fno-strict-aliasing -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) ifeq ($(WITH_FFMPEG), true) diff --git a/source/blender/radiosity/intern/source/Makefile b/source/blender/radiosity/intern/source/Makefile index 54a3af8e098..7791866eeaa 100644 --- a/source/blender/radiosity/intern/source/Makefile +++ b/source/blender/radiosity/intern/source/Makefile @@ -37,10 +37,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I$(OPENGL_HEADERS) diff --git a/source/blender/readblenfile/intern/Makefile b/source/blender/readblenfile/intern/Makefile index 6c6683eb07d..fa9875b8403 100644 --- a/source/blender/readblenfile/intern/Makefile +++ b/source/blender/readblenfile/intern/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_2_C_WARNINGS) # path to our own external headerfiles diff --git a/source/blender/readblenfile/stub/Makefile b/source/blender/readblenfile/stub/Makefile index c5a9570522f..ed96e56b8af 100644 --- a/source/blender/readblenfile/stub/Makefile +++ b/source/blender/readblenfile/stub/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_2_C_WARNINGS) CFLAGS += $(FIX_STUBS_WARNINGS) diff --git a/source/blender/readblenfile/test/Makefile b/source/blender/readblenfile/test/Makefile index 2d7b7c7fff8..235abad36b5 100644 --- a/source/blender/readblenfile/test/Makefile +++ b/source/blender/readblenfile/test/Makefile @@ -37,10 +37,6 @@ ALLTARGETS = $(OBJS) $(DIR)/$(DEBUG_DIR)test$(EXT) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_2_C_WARNINGS) # path to our own external headerfiles diff --git a/source/blender/render/intern/source/Makefile b/source/blender/render/intern/source/Makefile index f9b3dfc482a..95835f212e8 100644 --- a/source/blender/render/intern/source/Makefile +++ b/source/blender/render/intern/source/Makefile @@ -36,11 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char - CCFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) # first /include is my own includes, second is the external interface. diff --git a/source/blender/src/Makefile b/source/blender/src/Makefile index ac3ee291e9d..d8f053d7766 100644 --- a/source/blender/src/Makefile +++ b/source/blender/src/Makefile @@ -50,10 +50,6 @@ include nan_compile.mk CFLAGS += $(LEVEL_1_C_WARNINGS) #CFLAGS += $(LEVEL_1_C_WARNINGS) -diag_error 1196 -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - # PreProcessor stuff ------------------------------------------ CPPFLAGS += -I$(NAN_PYTHON)/include/python$(NAN_PYTHON_VERSION) diff --git a/source/blender/verify/intern/Makefile b/source/blender/verify/intern/Makefile index 74430193c79..c05f035caf2 100644 --- a/source/blender/verify/intern/Makefile +++ b/source/blender/verify/intern/Makefile @@ -36,10 +36,6 @@ DIR = $(OCGDIR)/blender/$(LIBNAME) include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_2_C_WARNINGS) # path to our own external headerfiles diff --git a/source/blender/yafray/intern/Makefile b/source/blender/yafray/intern/Makefile index a00a1fed73f..f7f6ccb559f 100644 --- a/source/blender/yafray/intern/Makefile +++ b/source/blender/yafray/intern/Makefile @@ -33,10 +33,6 @@ DIR = $(OCGDIR)/blender/yafray include nan_compile.mk -ifeq ($(OS),$(findstring $(OS), "beos darwin freebsd linux openbsd solaris windows")) - CFLAGS += -funsigned-char -endif - CFLAGS += $(LEVEL_1_C_WARNINGS) CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include -- cgit v1.2.3