19e5b0630b
Kicad is an open source software for the creation of electronic schematic diagrams and printed circuit board artwork. with some ideas from freebsd. also tested by Antti Harri <iku at openbsd.fi>, thanks
22 lines
518 B
Plaintext
22 lines
518 B
Plaintext
$OpenBSD: patch-pcbnew_makefile_gtk,v 1.1.1.1 2007/01/09 16:12:55 steven Exp $
|
|
--- pcbnew/makefile.gtk.orig Thu Jan 4 18:32:25 2007
|
|
+++ pcbnew/makefile.gtk Thu Jan 4 18:54:32 2007
|
|
@@ -4,7 +4,7 @@ LD = gcc
|
|
|
|
# Compiler flags.
|
|
|
|
-CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
|
|
+CPPFLAGS = -Wall `wx-config --cxxflags` -I${X11BASE}/include
|
|
|
|
LDFLAGS = -s
|
|
|
|
@@ -17,7 +17,7 @@ all: $(TARGET)
|
|
include makefile.include
|
|
|
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
|
-EDACPPFLAGS = $(CPPFLAGS)
|
|
+EDACPPFLAGS = $(CPPFLAGS) $(CXXFLAGS)
|
|
|
|
|
|
|