Commit 632ae14b authored by Aaron M. Ucko's avatar Aaron M. Ucko

Configure --with-optim=... so fltk-config --optim won't claim -Os.

parent 17ce1d72
......@@ -13,10 +13,11 @@ fltk1.1 (1.1.10-23) UNRELEASED; urgency=medium
- Drop the fltk-config.unhardened business, which proved insufficient.
(Do, however, postprocess fltk-config to avoid emitting the
-fdebug-prefix-map=... flag intended to *improve* reproducibility!)
- Configure --with-optim=... so fltk-config --optim won't claim -Os.
* fltk-config.in: Filter out -D*, -f*, and -W*, not just -g* and -O* (but
leave --optim output alone for reference). (See #828081.)
-- Aaron M. Ucko <ucko@debian.org> Tue, 24 Jan 2017 23:15:25 -0500
-- Aaron M. Ucko <ucko@debian.org> Tue, 24 Jan 2017 23:23:22 -0500
fltk1.1 (1.1.10-22) unstable; urgency=medium
......
......@@ -22,7 +22,8 @@ override_dh_auto_configure:
dh_auto_configure -- CC="$(CC)" CXX="$(CXX)" \
DSOFLAGS="$(filter-out -fPIE -pie,$(LDFLAGS))" \
--enable-shared --enable-threads --enable-xft \
--enable-xinerama --without-links --libdir=$(libdir)
--enable-xinerama --without-links --libdir=$(libdir) \
--with-optim=$(filter -O%,$(CXXFLAGS))
mv fltk.spec.saved fltk.spec
override_dh_auto_build:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment