diff options
-rw-r--r-- | Makefile.rules | 3 | ||||
-rw-r--r-- | lib/System/Makefile | 3 | ||||
-rw-r--r-- | lib/Target/CBackend/Makefile | 1 | ||||
-rw-r--r-- | projects/Stacker/lib/runtime/Makefile | 3 | ||||
-rw-r--r-- | projects/sample/lib/sample/Makefile | 2 | ||||
-rw-r--r-- | runtime/libdummy/Makefile | 2 |
6 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index acef660..4117169 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -357,7 +357,8 @@ endif # Options To Invoke Tools #---------------------------------------------------------- -CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused +CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused -Wno-long-long \ + -pedantic ifeq ($(OS),HP-UX) CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE diff --git a/lib/System/Makefile b/lib/System/Makefile index d4fc79c..85de736 100644 --- a/lib/System/Makefile +++ b/lib/System/Makefile @@ -14,3 +14,6 @@ BUILD_ARCHIVE = 1 EXTRA_DIST = Unix Win32 README.txt include $(LEVEL)/Makefile.common + +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) diff --git a/lib/Target/CBackend/Makefile b/lib/Target/CBackend/Makefile index ac6ff3b..9b26d8b 100644 --- a/lib/Target/CBackend/Makefile +++ b/lib/Target/CBackend/Makefile @@ -9,5 +9,4 @@ LEVEL = ../../.. LIBRARYNAME = LLVMCBackend -CXXFLAGS += -pedantic -Wno-long-long include $(LEVEL)/Makefile.common diff --git a/projects/Stacker/lib/runtime/Makefile b/projects/Stacker/lib/runtime/Makefile index d3ebf18..e10b476 100644 --- a/projects/Stacker/lib/runtime/Makefile +++ b/projects/Stacker/lib/runtime/Makefile @@ -12,3 +12,6 @@ DONT_BUILD_RELINKED = 1 MODULE_NAME = stkr_runtime include $(LEVEL)/Makefile.common + +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) diff --git a/projects/sample/lib/sample/Makefile b/projects/sample/lib/sample/Makefile index 140d7d6..6b1ea05 100644 --- a/projects/sample/lib/sample/Makefile +++ b/projects/sample/lib/sample/Makefile @@ -19,3 +19,5 @@ LOADABLE_MODULE=1 # include $(LEVEL)/Makefile.common +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) diff --git a/runtime/libdummy/Makefile b/runtime/libdummy/Makefile index 4fa2561..6dad7bc 100644 --- a/runtime/libdummy/Makefile +++ b/runtime/libdummy/Makefile @@ -15,3 +15,5 @@ BYTECODE_DESTINATION = $(CFERuntimeLibDir) include $(LEVEL)/Makefile.common +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) |