18 lines
620 B
Plaintext
18 lines
620 B
Plaintext
$NetBSD: patch-src_widget_Makefile,v 1.1 2016/02/22 12:20:02 khorben Exp $
|
|
|
|
Fix build for the camera Widget.
|
|
|
|
--- src/widget/Makefile.orig 2016-02-20 01:06:42.000000000 +0000
|
|
+++ src/widget/Makefile
|
|
@@ -6,8 +6,8 @@ LIBDIR = $(PREFIX)/lib
|
|
CC = cc
|
|
CPPFLAGSF=
|
|
CPPFLAGS=
|
|
-CFLAGSF = `pkg-config --cflags libDesktop`
|
|
-CFLAGS = -W -Wall -g -O2 -fPIC -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
|
+CFLAGSF = `pkg-config --cflags libDesktop` -fPIC
|
|
+CFLAGS = -W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
|
LDFLAGSF= `pkg-config --libs libDesktop` -lintl
|
|
LDFLAGS = -Wl,-z,relro -Wl,-z,now
|
|
EXEEXT =
|