зеркало из https://github.com/mozilla/pjs.git
Use -std1 (strict ANSI C) instead of -std (ANSI C but allows common
programming practices disallowed by the standard). Define OSF1V4 for all V4.x versions.
This commit is contained in:
Родитель
3a4cecc80b
Коммит
0792153b93
|
@ -60,7 +60,7 @@ ifdef MOZILLA_CLIENT
|
|||
IMPL_STRATEGY =
|
||||
endif
|
||||
|
||||
CC = cc $(NON_LD_FLAGS) -std -readonly_strings
|
||||
CC = cc $(NON_LD_FLAGS) -std1 -readonly_strings
|
||||
# The C++ compiler cxx has -readonly_strings on by default.
|
||||
CCC = cxx
|
||||
|
||||
|
@ -80,7 +80,7 @@ ifeq ($(OS_RELEASE),V3.2)
|
|||
OS_CFLAGS += -DOSF1V3
|
||||
endif
|
||||
|
||||
ifeq ($(OS_RELEASE),V4.0)
|
||||
ifeq (V4,$(findstring V4,$(OS_RELEASE)))
|
||||
OS_CFLAGS += -DOSF1V4
|
||||
endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче