summaryrefslogtreecommitdiff
path: root/beos/Makefile.target
diff options
context:
space:
mode:
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