2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

Update Makefile to pass CFLAGS into libapparmor_re

This commit is contained in:
John Johansen
2010-11-09 11:33:40 -08:00
parent 7f987f93d1
commit adb0973d61
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ ifndef CFLAGS
CFLAGS = -g -O2 -pipe
ifdef DEBUG
CFLAGS = -g
CFLAGS += -pg
endif
endif #CFLAGS
@@ -235,7 +235,7 @@ check: tests
.SILENT: $(AAREOBJECTS)
.PHONY: $(AAREOBJECTS)
$(AAREOBJECTS):
make -C $(AAREDIR) CFLAGS="$(CFLAGS)"
make -C $(AAREDIR) CFLAGS="$(EXTRA_CFLAGS)"
.PHONY: install-rhel4
install-rhel4: install-redhat

View File

@@ -3,7 +3,7 @@
TARGET=libapparmor_re.a
CFLAGS = -g -Wall -O2 ${EXTRA_CFLAGS}
CFLAGS ?= -g -Wall -O2 ${EXTRA_CFLAGS}
CXXFLAGS := ${CFLAGS}
ARFLAGS=-rcs