FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 08-15-2011, 07:12 PM
Rémy Oudompheng
 
Default Do not ignore compiler flags detected by configure script.

Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
---
Here I am not really sure about the Automake syntax, does it also work
if the GPGME test is not run ?

lib/libalpm/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 99f9c1b..2c7fea4 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -20,6 +20,8 @@ if ENABLE_GNU89_INLINE_CC
AM_CFLAGS += -fgnu89-inline
endif

+AM_CPPFLAGS = @LIBCURL_CPPFLAGS@ @GPGME_CFLAGS@
+
libalpm_la_SOURCES =
add.h add.c
alpm.h alpm.c
@@ -60,7 +62,7 @@ libalpm_la_SOURCES +=
base64.h base64.c
endif

-libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
+libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@ @GPGME_LIBS@
libalpm_la_LIBADD = $(LTLIBINTL)

# vim:set ts=2 sw=2 noet:
--
1.7.3.5
 
Old 08-15-2011, 09:46 PM
Allan McRae
 
Default Do not ignore compiler flags detected by configure script.

On 16/08/11 05:12, Rémy Oudompheng wrote:

Signed-off-by: Rémy Oudompheng<remy@archlinux.org>
---
Here I am not really sure about the Automake syntax, does it also work
if the GPGME test is not run ?


I believe it is fine if the GPGME test is not run, but you can easily
test if everything works using --without-gpgme. Also, this should just
be part of the configure patch.



lib/libalpm/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 99f9c1b..2c7fea4 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -20,6 +20,8 @@ if ENABLE_GNU89_INLINE_CC
AM_CFLAGS += -fgnu89-inline
endif

+AM_CPPFLAGS = @LIBCURL_CPPFLAGS@ @GPGME_CFLAGS@
+
libalpm_la_SOURCES =
add.h add.c
alpm.h alpm.c
@@ -60,7 +62,7 @@ libalpm_la_SOURCES +=
base64.h base64.c
endif

-libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
+libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@ @GPGME_LIBS@
libalpm_la_LIBADD = $(LTLIBINTL)

# vim:set ts=2 sw=2 noet:
 

Thread Tools




All times are GMT. The time now is 07:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org