[hipl-commit] [trunk] Rev 4160: build system: Do not add CFLAGS where only linker flags are required.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 7 Apr 2010 18:38:39 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 07/04/2010 at 18:38:39
Revision: 4160
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  build system: Do not add CFLAGS where only linker flags are required.

Modified:
  M  Makefile.am

=== modified file 'Makefile.am'
--- Makefile.am 2010-04-07 15:35:30 +0000
+++ Makefile.am 2010-04-07 15:38:22 +0000
@@ -532,8 +532,8 @@
 agent_hipagent_LDADD += lib/performance/libperformance.la
 endif
 
-GTKLDADD     = `pkg-config          --libs    gtk+-2.0`
-GTHREADLDADD = `pkg-config --cflags --libs gthread-2.0`
+GTKLDADD     = `pkg-config --libs    gtk+-2.0`
+GTHREADLDADD = `pkg-config --libs gthread-2.0`
 
 agent_hipagent_LDFLAGS = $(GTKLDADD)     \
                          $(GTHREADLDADD)

Other related posts:

  • » [hipl-commit] [trunk] Rev 4160: build system: Do not add CFLAGS where only linker flags are required. - Diego Biurrun