diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-28 06:21:34 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-28 06:21:34 +0000 |
commit | f31f1c3268e071514ec4d4c907a62ba5f62d8a00 (patch) | |
tree | 9f1e81904c4814abbedbcd52838e274aab4e65fa | |
parent | d9aaf6085968b1a3ef2febb0fabc604d860dd5b7 (diff) | |
download | icon-f31f1c3268e071514ec4d4c907a62ba5f62d8a00.tar.gz |
Fix GCC flags for Dyson
-rw-r--r-- | debian/patches/dyson-mklib.sh-gcc.patch | 14 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/dyson-mklib.sh-gcc.patch b/debian/patches/dyson-mklib.sh-gcc.patch new file mode 100644 index 0000000..9787d31 --- /dev/null +++ b/debian/patches/dyson-mklib.sh-gcc.patch @@ -0,0 +1,14 @@ +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 @@ + Darwin*) + cc -bundle -undefined suppress -flat_namespace -o $LIBNAME "$@";; + SunOS*) +- $CC $CFLAGS -G -o $LIBNAME "$@" -lc -lsocket;; ++ gcc -shared -o $LIBNAME -fPIC "$@" -lsocket;; + HP-UX*) + ld -b -o $LIBNAME "$@";; + IRIX*) diff --git a/debian/patches/series b/debian/patches/series index 98b6f03..1a2ecc9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ debian-9.4.3-2.patch config-illumos.patch undefine-SHARED-if-defined.patch use-__fpending.patch +dyson-mklib.sh-gcc.patch |