index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-10-31 22:19:03 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-04 10:42:07 -0600 |
commit | c26fe63ee5d84492bcfb36664af8a90619e6ded5 (patch) | |
tree | 591814b7bf5a0cc483f56968797e0c64556a81e7 /lib | |
parent | 8feccaed7861010caefa4f7b9824a612a78e3043 (diff) |
-rw-r--r-- | lib/libalpm/Makefile.am | 9 |
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am index e42a0bd0..b84dcc33 100644 --- a/lib/libalpm/Makefile.am +++ b/lib/libalpm/Makefile.am @@ -7,7 +7,14 @@ include_HEADERS = alpm_list.h alpm.h DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@ -AM_CFLAGS = -fvisibility=internal -pedantic -D_GNU_SOURCE -fgnu89-inline +AM_CFLAGS = -pedantic -D_GNU_SOURCE + +if ENABLE_VISIBILITY_CC +AM_CFLAGS += -fvisibility=internal +endif +if ENABLE_GNU89_INLINE_CC +AM_CFLAGS += -fgnu89-inline +endif libalpm_la_SOURCES = \ add.h add.c \ |