diff options
Diffstat (limited to 'lang/smlnj/files/patch-config___heap2exec')
-rw-r--r-- | lang/smlnj/files/patch-config___heap2exec | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lang/smlnj/files/patch-config___heap2exec b/lang/smlnj/files/patch-config___heap2exec deleted file mode 100644 index a7cc36507053..000000000000 --- a/lang/smlnj/files/patch-config___heap2exec +++ /dev/null @@ -1,33 +0,0 @@ ---- config/_heap2exec.orig 2019-05-31 12:36:14 UTC -+++ config/_heap2exec -@@ -89,6 +89,7 @@ SO_LIBS= - A_PROG= - A_FLAGS= - A_LIBS= -+AS_FLAGS= - - case ${OPSYS} in - darwin) -@@ -102,6 +103,13 @@ case ${OPSYS} in - A_PROG=${CC} - A_FLAGS=-Wl,--export-dynamic - A_LIBS=-lm -+ case `uname -m` in -+ amd64) -+ SO_FLAGS="${SO_FLAGS} -m32" -+ A_FLAGS="${A_FLAGS} -m32" -+ AS_FLAGS="${AS_FLAGS} -m32" -+ ;; -+ esac - ;; - linux) - SO_PROG=${CC} -@@ -122,7 +130,7 @@ fi - RESULT=0 - if ${H2A} "$heapfile" "$execfile".s ; then - if [ -f "$execfile".s ] ; then -- if ${CC} -c -o "$execfile".o "$execfile".s ; then -+ if ${CC} -c ${AS_FLAGS} -o "$execfile".o "$execfile".s ; then - rm "$execfile".s - else - rm "$execfile".s |