diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-20 08:35:46 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-20 08:35:46 +0000 |
commit | 88528a2dfdac50403733620be8597c1cbe08057f (patch) | |
tree | 35179d05f87646f975a8d0e55e6a1290d9415963 /games/liquidwar/patches | |
parent | fdba4eba2263ca902a83136e2c9a0caed78e0fc0 (diff) | |
download | pkgsrc-88528a2dfdac50403733620be8597c1cbe08057f.tar.gz |
The world does not only use GCC on Intel-based machines. Don't hardcode
"-mcpu=<cpu>" into the compiler options. This should allow this
package to build on platforms that GCC does not yet recognize as a
cpu-type for which it can optimize, e.g "x86_64".
Diffstat (limited to 'games/liquidwar/patches')
-rw-r--r-- | games/liquidwar/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/liquidwar/patches/patch-ab b/games/liquidwar/patches/patch-ab new file mode 100644 index 00000000000..b6afdb03cf4 --- /dev/null +++ b/games/liquidwar/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2005/06/20 08:35:47 jlam Exp $ + +--- src/Makefile.in.orig 2004-02-11 15:43:58.000000000 -0500 ++++ src/Makefile.in +@@ -19,7 +19,7 @@ PTHREAD = @PTHREAD@ + ifeq ($(TARGET_OPT),yes) + TARGET = @target@ + TARGET_CPU = @target_cpu@ +- TARGET_CPU_CC = "-mcpu=@target_cpu@" ++ TARGET_CPU_CC = + else + TARGET = default + TARGET_CPU = default |