mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 11:56:28 -04:00
Building with base GCC fails with: cc1: error: -Wuninitialized is not supported without -O But this port should use the default -O2. PR: 239311 Approved by: graahnul.grom@gmail.com (maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21142
11 lines
543 B
Text
11 lines
543 B
Text
--- liblepton/src/Makefile.am.orig 2019-07-19 16:53:37 UTC
|
|
+++ liblepton/src/Makefile.am
|
|
@@ -99,7 +99,7 @@ liblepton_la_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
|
|
-I$(srcdir)/../include -I$(srcdir)/../include/liblepton -I$(top_srcdir)
|
|
liblepton_la_CFLAGS = \
|
|
$(GCC_CFLAGS) $(MINGW_CFLAGS) $(GUILE_CFLAGS) $(GLIB_CFLAGS) \
|
|
- $(GDK_PIXBUF_CFLAGS)
|
|
+ $(GDK_PIXBUF_CFLAGS) $(CFLAGS)
|
|
liblepton_la_LDFLAGS = -version-info $(LIBLEPTON_SHLIB_VERSION) \
|
|
$(WINDOWS_LIBTOOL_FLAGS) $(MINGW_LDFLAGS) $(GUILE_LIBS) \
|
|
$(GLIB_LIBS) $(GDK_PIXBUF_LIBS)
|