mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Update Makefile to pass CFLAGS into libapparmor_re
This commit is contained in:
@@ -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
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
TARGET=libapparmor_re.a
|
||||
|
||||
CFLAGS = -g -Wall -O2 ${EXTRA_CFLAGS}
|
||||
CFLAGS ?= -g -Wall -O2 ${EXTRA_CFLAGS}
|
||||
CXXFLAGS := ${CFLAGS}
|
||||
|
||||
ARFLAGS=-rcs
|
||||
|
Reference in New Issue
Block a user