mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
20 lines
499 B
Diff
20 lines
499 B
Diff
--- a/parser/libapparmor_re/Makefile 2018-10-14 07:38:06.000000000 +0800
|
|
+++ b/parser/libapparmor_re/Makefile 2019-06-28 16:16:33.741916660 +0800
|
|
@@ -10,6 +10,7 @@
|
|
|
|
TARGET=libapparmor_re.a
|
|
|
|
+AR ?= ar
|
|
CFLAGS ?= -g -Wall -O2 ${EXTRA_CFLAGS} -std=gnu++0x
|
|
CXXFLAGS := ${CFLAGS} ${INCLUDE_APPARMOR}
|
|
|
|
@@ -22,7 +23,7 @@
|
|
UNITTESTS = tst_parse
|
|
|
|
libapparmor_re.a: parse.o expr-tree.o hfa.o chfa.o aare_rules.o
|
|
- ar ${ARFLAGS} $@ $^
|
|
+ ${AR} ${ARFLAGS} $@ $^
|
|
|
|
expr-tree.o: expr-tree.cc expr-tree.h
|
|
|