mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
b1e843f8e4
PR: 93682 Submitted by: Pedro F. Giffuni <giffunip@asme.org>
19 lines
436 B
Plaintext
19 lines
436 B
Plaintext
--- libSNL/src/makefile.orig Mon Feb 20 13:50:59 2006
|
|
+++ libSNL/src/makefile Mon Feb 20 13:52:03 2006
|
|
@@ -14,11 +14,11 @@
|
|
|
|
libName = libSNL.so.0.2
|
|
|
|
-export cflags = -Wall -g
|
|
-export cname = g++
|
|
+export cflags = -fPIC -Wall -g
|
|
+export cname = c++
|
|
|
|
-CXXFLAGS := $(cflags)
|
|
-CFLAGS := $(cflags)
|
|
+CXXFLAGS ?= $(cflags)
|
|
+CFLAGS ?= $(cflags)
|
|
|
|
libSNL: $(objFiles)
|
|
$(cname) $(cflags) -fPIC -shared -o $(libName) $(objFiles)
|