summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-mklib.sh-gcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/dyson-mklib.sh-gcc.patch')
-rw-r--r--debian/patches/dyson-mklib.sh-gcc.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/dyson-mklib.sh-gcc.patch b/debian/patches/dyson-mklib.sh-gcc.patch
index 9787d31..d2ddccb 100644
--- a/debian/patches/dyson-mklib.sh-gcc.patch
+++ b/debian/patches/dyson-mklib.sh-gcc.patch
@@ -1,11 +1,11 @@
Description: We use GNU toolchain, but not Glibc (yet)
Index: icon/ipl/cfuncs/mklib.sh
===================================================================
---- icon.orig/ipl/cfuncs/mklib.sh 2005-07-07 17:36:06.000000000 +0000
-+++ icon/ipl/cfuncs/mklib.sh 2013-01-28 06:19:51.637580774 +0000
-@@ -15,7 +15,7 @@
+--- icon.orig/ipl/cfuncs/mklib.sh 2013-01-28 19:21:51.493907562 +0000
++++ icon/ipl/cfuncs/mklib.sh 2013-01-28 19:25:11.758330423 +0000
+@@ -23,7 +23,7 @@
Darwin*)
- cc -bundle -undefined suppress -flat_namespace -o $LIBNAME "$@";;
+ $CC -bundle -undefined suppress -flat_namespace -o $LIBNAME "$@";;
SunOS*)
- $CC $CFLAGS -G -o $LIBNAME "$@" -lc -lsocket;;
+ gcc -shared -o $LIBNAME -fPIC "$@" -lsocket;;