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
|
Description: Fix Build
Bug-Debian: https://bugs.debian.org/952093
https://bugs.debian.org/954262
Author: Andreas Tille <tille@debian.org>
Forwarded: not-needed
Last-Update: Fri, 03 Apr 2020 16:40:17 +0200
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PREFIX=/usr/local
+PREFIX=/usr
CFLAGS=-I$(PREFIX)/include
--- a/global.mk
+++ b/global.mk
@@ -8,9 +8,9 @@
ifeq ($(CC),gcc)
- CFLAGS = -O3 -s -DOMP_SUPPORT -fopenmp -w
+ CFLAGS += -g -O3 -s -DOMP_SUPPORT -fopenmp -w -I$(CURDIR)/sumalibs
else
- CFLAGS = -O3 -w
+ CFLAGS += -g -O3 -w
endif
|