mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
26 lines
702 B
Plaintext
26 lines
702 B
Plaintext
$NetBSD: patch-aa,v 1.1.1.1 2002/10/15 12:39:12 kei Exp $
|
|
|
|
--- tool/bash/build.orig Thu Jul 18 03:09:52 2002
|
|
+++ tool/bash/build Mon Oct 14 03:49:09 2002
|
|
@@ -32,17 +32,17 @@
|
|
|
|
# what compiler to use and what options
|
|
|
|
-CallC="gcc -c"
|
|
+CallC="${CC} -c -I${X11BASE}/include"
|
|
CallC="${CallC} -Wall -Wmissing-prototypes -Wstrict-prototypes"
|
|
CallC="${CallC} -O3"
|
|
|
|
# what linker to use and what options
|
|
|
|
-LinkLine="gcc"
|
|
+LinkLine="${CC}"
|
|
|
|
# what libraries to link with
|
|
|
|
-LinkLibs="-L/usr/X11R6/lib -lXext -lX11"
|
|
+LinkLibs="-L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXext -lX11"
|
|
|
|
# set this to 1 for more speed if you have a PowerPC computer,
|
|
# or other processor with big endian addressing that can
|