Compare commits
No commits in common. "703b759d43bdfe9ccadbde562e546c239709b71f" and "b22556ec6f731e6f18045a1421fee9411e5a6cca" have entirely different histories.
703b759d43
...
b22556ec6f
2 changed files with 3 additions and 22 deletions
23
Makefile
23
Makefile
|
@ -5,29 +5,10 @@ COMMON_FLAGS = -Wall -Wextra -Wpedantic \
|
||||||
DEBUG_FLAGS = -Og -g
|
DEBUG_FLAGS = -Og -g
|
||||||
RELEASE_FLAGS = -O3 -DNDEBUG
|
RELEASE_FLAGS = -O3 -DNDEBUG
|
||||||
|
|
||||||
EXTRA_COMMON_FLAGS =
|
|
||||||
ifndef MINIMAL_BUILD_FLAGS
|
|
||||||
EXTRA_COMMON_FLAGS = \
|
|
||||||
-Wformat -Wformat=2 -Wconversion -Wimplicit-fallthrough \
|
|
||||||
-Werror=format-security \
|
|
||||||
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 \
|
|
||||||
-D_GLIBCXX_ASSERTIONS \
|
|
||||||
-fstrict-flex-arrays=3 \
|
|
||||||
-fstack-clash-protection -fstack-protector-strong \
|
|
||||||
-Wl,-z,nodlopen -Wl,-z,noexecstack \
|
|
||||||
-Wl,-z,relro -Wl,-z,now \
|
|
||||||
-Wl,--as-needed -Wl,--no-copy-dt-needed-entries \
|
|
||||||
-fPIE -pie \
|
|
||||||
-fno-delete-null-pointer-checks -fno-strict-overflow \
|
|
||||||
-fno-strict-aliasing -ftrivial-auto-var-init=zero \
|
|
||||||
-Werror=implicit -Werror=incompatible-pointer-types \
|
|
||||||
-Werror=int-conversion
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef RELEASE
|
ifdef RELEASE
|
||||||
CFLAGS = ${COMMON_FLAGS} ${EXTRA_COMMON_FLAGS} ${RELEASE_FLAGS}
|
CFLAGS = ${COMMON_FLAGS} ${RELEASE_FLAGS}
|
||||||
else
|
else
|
||||||
CFLAGS = ${COMMON_FLAGS} ${EXTRA_COMMON_FLAGS} ${DEBUG_FLAGS}
|
CFLAGS = ${COMMON_FLAGS} ${DEBUG_FLAGS}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
HEADERS = \
|
HEADERS = \
|
||||||
|
|
2
third_party/SimpleArchiver
vendored
2
third_party/SimpleArchiver
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 2252b7d7324454560f15286feb2e59f8deee0dc2
|
Subproject commit 3408183b3923e0e05811984a33260a7b80b15146
|
Loading…
Reference in a new issue