pkgsrc/emulators/qemu/patches/patch-aj

36 lines
925 B
Text
Raw Normal View History

$NetBSD: patch-aj,v 1.5 2006/05/06 18:09:53 xtraeme Exp $
--- Makefile.target.orig 2006-05-06 19:30:04.000000000 +0200
+++ Makefile.target 2006-05-06 19:31:21.000000000 +0200
@@ -17,9 +17,9 @@
VPATH+=:$(SRC_PATH)/linux-user
DEFINES+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ARCH)
endif
-CFLAGS=-Wall -O2 -g -fno-strict-aliasing
+#CFLAGS=-Wall -O2 -g -fno-strict-aliasing
#CFLAGS+=-Werror
-LDFLAGS=-g
+#LDFLAGS=-g
LIBS=
HELPER_CFLAGS=$(CFLAGS)
DYNGEN=../dyngen$(EXESUF)
@@ -411,6 +411,9 @@
2005-05-25 20:04:57 +02:00
sdlaudio.o: sdlaudio.c
$(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
+vl.o: vl.c
+ $(CC) $(CFLAGS) $(DEFINES) $(SDL_CFLAGS) -c -o $@ $<
+
depend: $(SRCS)
$(CC) -MM $(CFLAGS) $(DEFINES) $^ 1>.depend
@@ -492,7 +495,7 @@
install: all
ifneq ($(PROGS),)
- $(INSTALL) -m 755 -s $(PROGS) "$(DESTDIR)$(bindir)"
+ $(BSD_INSTALL_PROGRAM) $(PROGS) "$(bindir)"
endif
ifneq ($(wildcard .depend),)