]> git.pld-linux.org Git - packages/opal.git/commitdiff
- don't use info from opal.pc while opal is not installed
authorSzymon Siwek <sls@pld-linux.org>
Wed, 5 Nov 2008 17:06:37 +0000 (17:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opal-build.patch -> 1.1

opal-build.patch [new file with mode: 0644]

diff --git a/opal-build.patch b/opal-build.patch
new file mode 100644 (file)
index 0000000..9c7dd48
--- /dev/null
@@ -0,0 +1,19 @@
+--- opal-3.4.2/samples/simple/Makefile.orig    2008-11-05 17:42:13.403269358 +0100
++++ opal-3.4.2/samples/simple/Makefile 2008-11-05 17:58:28.336264433 +0100
+@@ -53,13 +53,13 @@
+ endif
+ # Get required flags from library
+-CFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --cflags opal)
+-LDFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --libs opal)
++CFLAGS += 
++LDFLAGS += 
+ # This part is we like to be tidy and put all the build products
+ # in a sub-directory of a name specific to platform type.
+-OBJDIR = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(PKG_FLAGS) --variable=objdir opal)
++OBJDIR = obj
+ vpath %.o   $(OBJDIR)
This page took 0.170542 seconds and 4 git commands to generate.