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 34 35 36 37 38 39
|
From: Axel Beckert <abe@debian.org>
Date: Mon, 11 Oct 2010 01:18:31 +0200
Subject: build-options
Patch initially extracted from .diff.gz of 1:0.5-1.1.
Updated with 1:0.6-3 to work properly with dpkg-buildflags
---
Makefile | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
Index: xrootconsole/Makefile
===================================================================
--- xrootconsole.orig/Makefile 2013-07-13 23:32:46.110181497 +0200
+++ xrootconsole/Makefile 2013-07-13 23:33:03.910030520 +0200
@@ -44,19 +44,17 @@
fi;)
CC = gcc
-CPPFLAGS =
# for production
-CFLAGS = -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \
+CFLAGS += -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \
-I /usr/X11R6/include
-LDFLAGS = -s
# for testing
#CFLAGS = -g -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION) (debug build)\"" \
- -I /usr/X11R6/include
+# -I /usr/X11R6/include
#LDFLAGS =
-LIBS = -L/usr/X11R6/lib -lX11 -lutil
+LIBS = -L/usr/X11R6/lib -lX11
OBJS = main.o util.o
|