summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-12-14 11:30:14 +0000
committerVincent Sanders <vince@kyllikki.org>2012-12-14 11:30:14 +0000
commit6582b4e075e28d17349132ed77862f0a370a9119 (patch)
tree8c67d402302628cb16cc248b3339447be6d9d3ed
parent7c5f9ed8cd029dda34b6167520d6b65fbc40fc69 (diff)
downloadnetsurf-6582b4e075e28d17349132ed77862f0a370a9119.tar.gz
netsurf-6582b4e075e28d17349132ed77862f0a370a9119.tar.bz2
fix change to CC_MAJOR for beos
-rw-r--r--Makefile2
-rw-r--r--beos/Makefile.target2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2d61411c7..b57dabfb3 100644
--- a/Makefile
+++ b/Makefile
@@ -605,7 +605,7 @@ endef
# 1 = Source file
# 2 = obj filename, no prefix
# 3 = dep filename, no prefix
-ifeq ($(GCCVER),2)
+ifeq ($(CC_MAJOR),2)
# simpler deps tracking for gcc2...
define compile_target_c
$$(DEPROOT)/$(3) $$(OBJROOT)/$(2): $$(OBJROOT)/created
diff --git a/beos/Makefile.target b/beos/Makefile.target
index 9a7e79ab8..4edde01a1 100644
--- a/beos/Makefile.target
+++ b/beos/Makefile.target
@@ -62,7 +62,7 @@
NETLDFLAGS := -lnetwork
endif
LDFLAGS += -lbe -ltranslation -ltracker $(NETLDFLAGS)
- ifeq ($(GCCVER),2)
+ ifeq ($(CC_MAJOR),2)
LDFLAGS += -lstdc++.r4
else
LDFLAGS += -lstdc++ -lsupc++