aboutsummaryrefslogtreecommitdiffstats
path: root/cad/calculix/files/patch-libSNL+makefile
blob: c7c3599501993dd4a7ff4c3ece204a7bfbd9d9b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- libSNL/src/makefile.orig    2015-07-30 21:36:35 UTC
+++ libSNL/src/makefile
@@ -15,11 +15,11 @@ objFiles := snlCircularOffsetCurve.o \
 
 libName = libSNL.so.0.2
 
-export cflags = -Wall -fPIC -O3 
-export cname = g++
+export cflags = -fPIC -Wall -O3
+export cname = c++
 
-CXXFLAGS := $(cflags)
-CFLAGS := $(cflags)
+CXXFLAGS ?= $(cflags)
+CFLAGS ?= $(cflags)
 
 libSNL:     $(objFiles)
    @       echo