Bugs item #1862709, was opened at 2008-01-02 13:10
Message generated for change (Comment added) made by zelgadis_ksee
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1862709&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Binary Installation
Group: Latest release
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Macks (dmacks)
Assigned to: Nobody/Anonymous (nobody)
Summary: Lots of -I and -D flags passed to linker

Initial Comment:
They are. They shouldn't be. Mostly harmless, but those flags are all for the 
compiling (.cpp -> .o) stage, not the linking (.o -> .so) stage. It's a symptom 
of using the intuitive meaning of the various Makefile.am variables rather than 
their documented meanings.

CXXFLAGS is for *all* invocations of the c++ program, including compiling and 
linking. CPPFLAGS is for all compiling, both C and C++. So src/tool/Makefile.am:

synfig_CXXFLAGS = -lsynfig @SYNFIG_CFLAGS@

is wrong a few ways. The linker flag -lsynfig should only be passed to the 
linker (and already is, in synfig_LDADD), and @SYNFIG_CFLAGS@ should only be 
passed to the compiler (via synfig_CPPFLAGS).

@SYNFIG_CFLAGS@ is (mis)passed this same way in all Makefile.am, and similarly 
for some explicit -D flags and various other @*_CFLAGS@ variables.

----------------------------------------------------------------------

Comment By: Konstantin Dmitriev (zelgadis_ksee)
Date: 2012-12-26 04:15

Message:
This bugtracker is no longer active. The issue is moved to the new
bugtracker - http://synfig.org/issues/thebuggenie/synfig

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1862709&group_id=144022

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to