blob: 9810da002e1829516cde6891bfa6dadc692c9978 (
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
|
$NetBSD: patch-aa,v 1.2 2000/10/19 08:04:58 skrll Exp $
--- Makefile.common.orig Tue May 16 04:13:20 2000
+++ Makefile.common
@@ -15,22 +15,24 @@
# -Wconversion -Wno-overloaded-virtual
ifdef BUILD_RELEASE
-CFLAGS = -O2 -fno-strength-reduce -W -Wall -pipe
+CFLAGS = -O2 -fno-strength-reduce -W -Wall -pipe -D__unix__
else
-CFLAGS = -g -Wall -W -pipe #-DQT_NO_COMPAT
+CFLAGS = -g -Wall -W -pipe -D__unix__ #-DQT_NO_COMPAT
endif
# Flags used by the C Compiler (not the c++ compiler)
C_FLAGS = -O2 -Ixmltok -Ixmlparse -DXML_NS
-LFLAGS = -g -L$(QTDIR)/lib \
+LFLAGS = -g -L$(QTDIR)/lib -Wl,-R$(QTDIR)/lib \
widget/libwidget.a \
prop/libprop.a \
bmp/libbmp.a \
layout/liblayout.a \
pixmap/libpixmap.a \
xml/libqtarchxml.a \
- -lfl -lqt -ldl
+ -lfl -lqt \
+ -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -lX11 -lXext -lSM \
+ -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib -lpng -lz -lstdc++
# -lfl -lqt -rdynamic $(HOME)/tmp/ccmalloc-0.2.3/src/libccmalloc.a -ldl
ARFLAGS = -crs
|