18 lines
588 B
Plaintext
18 lines
588 B
Plaintext
$NetBSD: patch-tools_Makefile,v 1.1 2015/09/01 00:28:03 khorben Exp $
|
|
|
|
Fix build with LDFLAGS set.
|
|
|
|
--- tools/Makefile.orig 2015-08-31 00:01:33.000000000 +0000
|
|
+++ tools/Makefile
|
|
@@ -6,8 +6,8 @@ LIBDIR = $(PREFIX)/lib
|
|
CC = cc
|
|
CPPFLAGSF=
|
|
CPPFLAGS=
|
|
-CFLAGSF = `pkg-config --cflags libDesktop Mailer`
|
|
-CFLAGS = -W -Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
|
+CFLAGSF = `pkg-config --cflags libDesktop Mailer` -fPIC
|
|
+CFLAGS = -W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
|
LDFLAGSF= `pkg-config --libs libDesktop`
|
|
AR = ar
|
|
RANLIB = ranlib
|