summaryrefslogtreecommitdiff
path: root/beos/Makefile.target
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2012-11-25 18:11:56 +0100
committerFran├žois Revol <revol@free.fr>2012-11-25 18:12:50 +0100
commitc496d9080fa19314a2b910386228f6b10170cc3c (patch)
tree414d1a2cc5d06844267d1c8b6a3ba2836d32e94a /beos/Makefile.target
parent7e5ac02785ea909f72b39d1c30f2aa15fbacfa87 (diff)
downloadnetsurf-c496d9080fa19314a2b910386228f6b10170cc3c.tar.gz
netsurf-c496d9080fa19314a2b910386228f6b10170cc3c.tar.bz2
beos: gcc2 fixes
We'll probably drop gcc2 support soon though.
Diffstat (limited to 'beos/Makefile.target')
-rw-r--r--beos/Makefile.target7
1 files changed, 6 insertions, 1 deletions
diff --git a/beos/Makefile.target b/beos/Makefile.target
index ce4703246..0c662cb0b 100644
--- a/beos/Makefile.target
+++ b/beos/Makefile.target
@@ -61,7 +61,12 @@
# cross: Haiku ?
NETLDFLAGS := -lnetwork
endif
- LDFLAGS += -lbe -ltranslation -ltracker $(NETLDFLAGS) -lstdc++ -lsupc++
+ LDFLAGS += -lbe -ltranslation -ltracker $(NETLDFLAGS)
+ ifeq ($(GCCVER),2)
+ LDFLAGS += -lstdc++.r4
+ else
+ LDFLAGS += -lstdc++ -lsupc++
+ endif
ifeq ($(HOST),beos)
CFLAGS += -I$(PREFIX)/include