openbsd-ports/net/vncsnapshot/patches/patch-Makefile

18 lines
538 B
Plaintext
Raw Normal View History

$OpenBSD: patch-Makefile,v 1.1.1.1 2007/12/14 21:13:46 sthen Exp $
--- Makefile.orig Thu Sep 9 01:22:33 2004
+++ Makefile Thu Dec 6 14:34:25 2007
@@ -21,11 +21,11 @@ EXTRAINCLUDES =
# Compilation Flags. Season to taste.
CC = gcc
-CDEBUGFLAGS = -O2 -Wall
+CDEBUGFLAGS = -Wall
CXX=g++
# You shouldn't need to change anything below.
INCLUDES = -I. $(ZLIB_INCLUDE) $(JPEG_INCLUDE) $(EXTRAINCLUDES)
-CFLAGS = $(CDEBUGFLAGS) $(INCLUDES)
+CFLAGS += $(CDEBUGFLAGS) $(INCLUDES)
CXXFLAGS = $(CFLAGS)
# Solaris 8 uses CCC and CCFLAGS