forked from pld-linux/X11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XFree86-pic.patch
26 lines (25 loc) · 1.25 KB
/
XFree86-pic.patch
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