blob: 37e9cd7313befde26b30788f7fa9906674d082d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.4 2004/12/26 02:43:38 wiz Exp $
--- makefile.machine.orig 2004-12-03 22:00:37.000000000 +0100
+++ makefile.machine
@@ -1,8 +1,7 @@
-ALLFLAGS=-Wall -O2 -s -fPIC \
+ALLFLAGS=-Wall -s -fPIC \
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-DNDEBUG -D_REENTRANT -DENV_UNIX \
- -DLITTLE_ENDIAN \
$(LOCAL_FLAGS)
CXX=g++ $(ALLFLAGS)
@@ -10,7 +9,7 @@ CC=gcc $(ALLFLAGS)
LINK_SHARED=-shared
LOCAL_LIBS=-lpthread
-LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
+LOCAL_LIBS_DLL=$(LOCAL_LIBS)
# static linkage
# LOCAL_LIBS=-static -lpthread
|