Adjusted order of compile flags to make it possible to select optimization
level by setting CFLAGS at compile file.
This commit is contained in:
parent
3a6ebb3c07
commit
2a61e2b029
@ -1,3 +1,11 @@
|
|||||||
|
sysvinit (2.91) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Jesse Smith ]
|
||||||
|
|
||||||
|
* Adjusted order of compile flags to make it easier for downstream
|
||||||
|
to adjust optimization level. Patch provided by Matias Fonzo.
|
||||||
|
Can now set optimization level in CFLAGS variable.
|
||||||
|
|
||||||
sysvinit (2.90) world; urgency=low
|
sysvinit (2.90) world; urgency=low
|
||||||
|
|
||||||
[ Jesse Smith ]
|
[ Jesse Smith ]
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
CPPFLAGS =
|
CPPFLAGS =
|
||||||
CFLAGS ?= -ansi -O2 -fomit-frame-pointer -fstack-protector-strong
|
CFLAGS ?= -O2
|
||||||
override CFLAGS += -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE
|
override CFLAGS += -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE
|
||||||
override CFLAGS += $(shell getconf LFS_CFLAGS)
|
override CFLAGS += $(shell getconf LFS_CFLAGS)
|
||||||
STATIC =
|
STATIC =
|
||||||
MANDB := s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@
|
MANDB := s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@
|
||||||
|
Loading…
Reference in New Issue
Block a user