1
0
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:
Matthias Schwarzott 2007-04-25 23:22:25 +02:00 committed by Kay Sievers
parent a0ee4ac513
commit 702e02313c

View File

@ -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)