зеркало из https://github.com/mozilla/pjs.git
Bug 677159 - Don't allow to include config/config.mk twice. r=khuey
This commit is contained in:
Родитель
3b4671e013
Коммит
a875db7438
|
@ -45,9 +45,9 @@
|
|||
#
|
||||
|
||||
# Define an include-at-most-once flag
|
||||
#ifdef INCLUDED_CONFIG_MK
|
||||
#$(error Don't include config.mk twice!)
|
||||
#endif
|
||||
ifdef INCLUDED_CONFIG_MK
|
||||
$(error Don't include config.mk twice!)
|
||||
endif
|
||||
INCLUDED_CONFIG_MK = 1
|
||||
|
||||
EXIT_ON_ERROR = set -e; # Shell loops continue past errors without this.
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
#
|
||||
|
||||
# Define an include-at-most-once flag
|
||||
#ifdef INCLUDED_CONFIG_MK
|
||||
#$(error Don't include config.mk twice!)
|
||||
#endif
|
||||
ifdef INCLUDED_CONFIG_MK
|
||||
$(error Don't include config.mk twice!)
|
||||
endif
|
||||
INCLUDED_CONFIG_MK = 1
|
||||
|
||||
EXIT_ON_ERROR = set -e; # Shell loops continue past errors without this.
|
||||
|
|
|
@ -58,7 +58,6 @@ FORCE_USE_PIC = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
include $(topsrcdir)/config/config.mk
|
||||
# need this to suppress errors when compiling common/linux/eintr_wrapper.h
|
||||
OS_CXXFLAGS := $(filter-out -pedantic,$(OS_CXXFLAGS))
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче