29995e3c8c
Based on PR 39980 by John Maier. Xhomer is a machine emulator for the Digital Equipment Corporation (DEC) Pro 350 computer, a PDP-11-based machine that was sold in the early to mid-'80's. Xhomer is based on the PDP-11 CPU core from the SIMH simulator, and is written entirely in C.
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
$NetBSD: patch-aa,v 1.1.1.1 2008/12/06 12:56:27 obache Exp $
|
|
|
|
--- Makefile.orig 2004-02-08 22:37:24.000000000 +0000
|
|
+++ Makefile
|
|
@@ -115,17 +115,17 @@ PRO_VERSION = `cat VERSION`
|
|
# C-Compiler configuration
|
|
|
|
# All the rest of the flags in this section assume gcc
|
|
-CC=gcc -Wall
|
|
+#CC=gcc -Wall
|
|
# -Wchar-subscripts -W -Wshadow -Wconversion
|
|
# -Wtraditional -Wstrict-prototypes
|
|
|
|
# This prevents "undesirable excess precision" on some machines, says gcc
|
|
-CC += -ffloat-store
|
|
+#CC += -ffloat-store
|
|
|
|
# The 1st choice runs about 15% slower than the 2nd (-O3 -fomit-frame-pointer).
|
|
# but it (re)compiles faster and unlike the second choice, it is debuggable.
|
|
# CC += -g -O -fno-inline
|
|
-CC += -O3 -Winline -fomit-frame-pointer
|
|
+#CC += -O3 -Winline -fomit-frame-pointer
|
|
|
|
# Some older gcc's need this on i386 to work around a bug. As long as
|
|
# omit-frame-pointer is also set, it doesn't seem to hurt performance, so
|
|
@@ -184,8 +184,8 @@ ifeq ($(PRO),Y)
|
|
|
|
# Try this as the default place for X11 stuff and ncurses
|
|
|
|
- CCINCS = -I$(X11DIR)/include -I/usr/X11/include -I$(NCURSESINC)
|
|
- CCLIBS = -L$(X11DIR)/lib -L/usr/X11/lib -L$(NCURSESLIB)
|
|
+ CCINCS = $(CFLAGS)
|
|
+ CCLIBS = $(LDFLAGS)
|
|
|
|
# But some vendors put things in non-standard places
|
|
|