summaryrefslogtreecommitdiff
path: root/XFree86-pic.patch
blob: 1e96c1e0a3a15bebf3cdf6a12a00b6e4cec46747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -urN xc.orig/config/cf/Library.tmpl xc/config/cf/Library.tmpl
--- xc.orig/config/cf/Library.tmpl	Mon Dec 30 15:52:30 2002
+++ xc/config/cf/Library.tmpl	Mon Dec 30 19:33:30 2002
@@ -212,9 +212,9 @@
 #  if !DoSharedLib &&  defined(IncludeNormalLibInSharedObject)
 #   define _NormalObjCompile(options) NormalRelocLibObjCompile(options)
 #  else
-#   define _NormalObjCompile(options) NormalLibObjCompile(options)
+#   define _NormalObjCompile(options) NormalLibObjCompile(options $(PICFLAGS))
 #  endif
-#  define _NormalObjCplusplusCompile(options) NormalLibObjCplusplusCompile(options)
+#  define _NormalObjCplusplusCompile(options) NormalLibObjCplusplusCompile(options $(PICFLAGS))
 #  define _NormalCleanDir() $(_NULLCMD_)
 # endif
 #endif
@@ -227,8 +227,8 @@
 #  define _SharedObjCompile(options) NormalSharedLibObjCompile(options)
 #  define _SharedObjCplusplusCompile(options) NormalSharedLibObjCplusplusCompile(options)
 #else
-# define _SharedObjCompile(options) NormalLibObjCompile(options)
-# define _SharedObjCplusplusCompile(options) NormalLibObjCplusplusCompile(options)
+# define _SharedObjCompile(options) NormalLibObjCompile(options $(PICFLAGS))
+# define _SharedObjCplusplusCompile(options) NormalLibObjCplusplusCompile(options $(PICFLAGS))
 #endif
 #endif