summaryrefslogtreecommitdiff
path: root/lang/spidermonkey17/files/patch-config
diff options
context:
space:
mode:
Diffstat (limited to 'lang/spidermonkey17/files/patch-config')
-rw-r--r--lang/spidermonkey17/files/patch-config43
1 files changed, 0 insertions, 43 deletions
diff --git a/lang/spidermonkey17/files/patch-config b/lang/spidermonkey17/files/patch-config
deleted file mode 100644
index 1e57f4702eac..000000000000
--- a/lang/spidermonkey17/files/patch-config
+++ /dev/null
@@ -1,43 +0,0 @@
---- config/Linux_All.mk 2005-05-10 21:53:44.000000000 +0200
-+++ config/Linux_All.mk 2008-06-18 14:26:06.000000000 +0200
-@@ -41,8 +41,8 @@
- # Config for all versions of Linux
- #
-
--CC = gcc
--CCC = g++
-+CC ?= gcc
-+CCC ?= g++
- CFLAGS += -Wall -Wno-format
- OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
-
-@@ -74,7 +74,7 @@
-
- GFX_ARCH = x
-
--OS_LIBS = -lm -lc
-+OS_LIBS = -lm
-
- ASFLAGS += -x assembler-with-cpp
-
-@@ -88,16 +88,12 @@
- endif
-
- # Use the editline library to provide line-editing support.
--JS_EDITLINE = 1
-+JS_READLINE = 1
-
--ifeq ($(CPU_ARCH),x86_64)
--# Use VA_COPY() standard macro on x86-64
--# FIXME: better use it everywhere
- OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy
--endif
-
--ifeq ($(CPU_ARCH),x86_64)
--# We need PIC code for shared libraries
--# FIXME: better patch rules.mk & fdlibm/Makefile*
-+ifeq ($(CPU_ARCH),sparc64)
- OS_CFLAGS += -DPIC -fPIC
-+else
-+OS_CFLAGS += -DPIC -fpic
- endif