summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-js-src-Makefile.in
blob: b9f4996d371f2e9fd0dd00b985b868c8b9619163 (plain) (blame)
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
27
28
29
30
--- js/src/Makefile.in.orig	2011-07-06 05:09:22.000000000 +0200
+++ js/src/Makefile.in	2011-07-06 22:23:46.363233778 +0200
@@ -416,7 +416,7 @@
 # END enclude sources for V8 dtoa
 #############################################
 
-ifeq (,$(filter arm% sparc %86 x86_64,$(TARGET_CPU)))
+ifeq (,$(filter arm% sparc %86 amd64 x86_64,$(TARGET_CPU)))
 
 VPATH +=	$(srcdir)/assembler \
 		$(srcdir)/assembler/wtf \
@@ -469,6 +469,9 @@
 else
 #CPPSRCS		+= only_on_x86.cpp
 endif
+ifeq (amd64, $(TARGET_CPU))
+#CPPSRCS                += only_on_x86_64.cpp
+endif
 endif
 ifeq (arm, $(TARGET_CPU))
 #CPPSRCS		+= only_on_arm.cpp
@@ -793,7 +796,7 @@
 endif # WINNT
 
 ifeq ($(OS_ARCH),FreeBSD)
-EXTRA_LIBS	+= -pthread
+EXTRA_LIBS	+= -pthread -lc
 endif
 ifeq ($(OS_ARCH),IRIX)
 ifdef USE_N32