blob: 8081e46c74368579cbbaacf43cb951083655e6d6 (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
Respect LDFLAGS, CC, CXX
http://bugs.gentoo.org/317767
Fix parallel make
https://bugs.gentoo.org/show_bug.cgi?id=282244
--- Makefile
+++ Makefile
@@ -331,7 +331,7 @@
prps: $(PRPS)
-$(PROG): $(OBJS)
+$(PROG): $(OBJS) vlib
- $(CXX) -o $@ $(OBJS) $(LDFLAGS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBDIR) $(LIBS)
%.o: %.cpp
$(CXX) $(CFLAGS) -c $< -o $@
--- v/Config.mk
+++ v/Config.mk
@@ -35,8 +35,6 @@
#---------------------------------------------------------------------
#CC = gcc
#CXX = g++
-CC = gcc-3.4
-CXX = g++-3.4
#---------------------------------------------------------------------
# VPATH for dependencies on header files
@@ -297,5 +295,3 @@
#---------------------------------------------------------------------
# LINK/LOAD options
#---------------------------------------------------------------------
-LDFLAGS = $(LIBDIR) $(LIBS)
-
--- v/srcx/Makefile
+++ v/srcx/Makefile
@@ -142,7 +142,6 @@
vprogrsc.h vsliderc.h vtextinc.h vlistc.h vcomboc.h vtextc.h \
vcolor.h vpen.h vclabelc.h vspinc.h
- cd iconed ; $(MAKE) ARCH=$@ ; cd ..
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|