mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +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
|
CFLAGS = -g -O2 -pipe
|
||||||
|
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
CFLAGS = -g
|
CFLAGS += -pg
|
||||||
endif
|
endif
|
||||||
endif #CFLAGS
|
endif #CFLAGS
|
||||||
|
|
||||||
@@ -235,7 +235,7 @@ check: tests
|
|||||||
.SILENT: $(AAREOBJECTS)
|
.SILENT: $(AAREOBJECTS)
|
||||||
.PHONY: $(AAREOBJECTS)
|
.PHONY: $(AAREOBJECTS)
|
||||||
$(AAREOBJECTS):
|
$(AAREOBJECTS):
|
||||||
make -C $(AAREDIR) CFLAGS="$(CFLAGS)"
|
make -C $(AAREDIR) CFLAGS="$(EXTRA_CFLAGS)"
|
||||||
|
|
||||||
.PHONY: install-rhel4
|
.PHONY: install-rhel4
|
||||||
install-rhel4: install-redhat
|
install-rhel4: install-redhat
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
TARGET=libapparmor_re.a
|
TARGET=libapparmor_re.a
|
||||||
|
|
||||||
CFLAGS = -g -Wall -O2 ${EXTRA_CFLAGS}
|
CFLAGS ?= -g -Wall -O2 ${EXTRA_CFLAGS}
|
||||||
CXXFLAGS := ${CFLAGS}
|
CXXFLAGS := ${CFLAGS}
|
||||||
|
|
||||||
ARFLAGS=-rcs
|
ARFLAGS=-rcs
|
||||||
|
Reference in New Issue
Block a user