mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
Makefile: respect CFLAGS/LDFLAGS
This commit is contained in:
parent
a0ee4ac513
commit
702e02313c
4
Makefile
4
Makefile
@ -113,13 +113,13 @@ LD = $(CROSS_COMPILE)gcc
|
||||
AR = $(CROSS_COMPILE)ar
|
||||
RANLIB = $(CROSS_COMPILE)ranlib
|
||||
|
||||
CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
CFLAGS += -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
|
||||
-Wchar-subscripts -Wmissing-declarations -Wnested-externs \
|
||||
-Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
|
||||
CFLAGS += $(WARNINGS)
|
||||
|
||||
LDFLAGS = -Wl,-warn-common
|
||||
LDFLAGS += -Wl,-warn-common
|
||||
|
||||
OPTFLAGS = -Os
|
||||
CFLAGS += $(OPTFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user