Restored unmodified GNU make files.
This commit is contained in:
parent
1903115bbd
commit
089793e25d
|
@ -27,7 +27,22 @@
|
||||||
# TODO /analyze requires us to write annotations everywhere
|
# TODO /analyze requires us to write annotations everywhere
|
||||||
# TODO undecided flags from qo?
|
# TODO undecided flags from qo?
|
||||||
# -RTCc is not supplied because it's discouraged as of VS2015; see https://www.reddit.com/r/cpp/comments/46mhne/rtcc_rejects_conformant_code_with_visual_c_2015/d06auq5
|
# -RTCc is not supplied because it's discouraged as of VS2015; see https://www.reddit.com/r/cpp/comments/46mhne/rtcc_rejects_conformant_code_with_visual_c_2015/d06auq5
|
||||||
|
CFLAGS += \
|
||||||
|
-W4 \
|
||||||
|
-wd4100 \
|
||||||
|
-TC \
|
||||||
|
-bigobj -nologo \
|
||||||
|
-RTC1 -RTCs -RTCu
|
||||||
|
|
||||||
|
# TODO prune these
|
||||||
|
# -EHsc is to shut the compiler up in some cases
|
||||||
|
CXXFLAGS += \
|
||||||
|
-W4 \
|
||||||
|
-wd4100 \
|
||||||
|
-TP \
|
||||||
|
-bigobj -nologo \
|
||||||
|
-RTC1 -RTCs -RTCu \
|
||||||
|
-EHsc
|
||||||
|
|
||||||
# TODO warnings on undefined symbols
|
# TODO warnings on undefined symbols
|
||||||
LDFLAGS += \
|
LDFLAGS += \
|
||||||
|
|
|
@ -46,9 +46,11 @@ LDFLAGS += $(NATIVE_UI_LDFLAGS)
|
||||||
|
|
||||||
# flags for OS X versioning
|
# flags for OS X versioning
|
||||||
CFLAGS += \
|
CFLAGS += \
|
||||||
-mmacosx-version-min=10.8
|
-mmacosx-version-min=10.8 \
|
||||||
|
-DMACOSX_DEPLOYMENT_TARGET=10.8
|
||||||
CXXFLAGS += \
|
CXXFLAGS += \
|
||||||
-mmacosx-version-min=10.8
|
-mmacosx-version-min=10.8 \
|
||||||
|
-DMACOSX_DEPLOYMENT_TARGET=10.8
|
||||||
LDFLAGS += \
|
LDFLAGS += \
|
||||||
-mmacosx-version-min=10.8
|
-mmacosx-version-min=10.8
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue