summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-09-18 23:38:21 -0400
committerAllan McRae <allan@archlinux.org>2012-11-27 15:16:15 +1000
commit40d68949100d534e4dea766c7f8f60ed36aa4429 (patch)
tree855a3987b41b01724e575fdb9e91d1d1caee85c2 /lib
parent768c8ba100f1bdef9bb99f8ca619d23f055877ce (diff)
downloadpacman-40d68949100d534e4dea766c7f8f60ed36aa4429.tar.xz
buildsys: eschew use of DEFS, prefer AM_CPPFLAGS
This is redundant, and any usage of -D should belong to CPPFLAGS. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 911e52bf..c935e2db 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -5,10 +5,9 @@ SUBDIRS = po
lib_LTLIBRARIES = libalpm.la
include_HEADERS = alpm_list.h alpm.h
-DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
-
AM_CPPFLAGS = \
- -imacros $(top_builddir)/config.h
+ -imacros $(top_builddir)/config.h \
+ -DLOCALEDIR=\"@localedir@\"
AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS)