summaryrefslogtreecommitdiff
path: root/math/goblin/files/patch-Makefile
blob: e066327156cb164cf81d05d9d7a51877b776582f (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
31
32
33
34
--- Makefile.orig	2010-05-28 10:41:25.000000000 +0000
+++ Makefile	2010-05-28 10:41:41.000000000 +0000
@@ -335,19 +335,11 @@
 shared : intro $(shared_objects)
 
 libgoblin.$(so_suffix) : $(lib_objects) $(shell_objects)
-ifeq ($(CC),gcc)
 	$(LD) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) $(LIBS)
-else
-	$(LD) -G                     -o $@ $^ $(LDFLAGS) $(LIBS)
-endif
 	@echo "...Shared object ($@) has been successfully linked"
 
 libglpk.$(so_suffix) : $(glpk_objects) $(wrap_objects)
-ifeq ($(CC),gcc)
 	$(LD) -shared -Wl,-soname,$@ -o $@ $(shell_objects) $^ -L. $(LDFLAGS) $(LIBS) -lgoblin
-else
-	$(LD) -G                     -o $@ $(shell_objects) $^ -L. $(LDFLAGS) $(LIBS) -lgoblin
-endif
 	@echo "...Shared object ($@) has been successfully linked"
 
 
@@ -367,11 +359,7 @@
 else
 
 gosh : $(gosh_objects) $(shared_objects)
-ifeq ($(CC),gcc)
 	$(LD)    -o $@ $(gosh_objects) -L. $(LDFLAGS) -lgoblin $(glpk) $(LIBS)
-else
-	$(LD) -G -o $@ $(gosh_objects) -L. $(LDFLAGS) -lgoblin $(glpk) $(LIBS)
-endif
 	@echo "...Shell tool ($@) has been linked with shared object"
 
 endif