mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-26 16:07:31 +01:00
451134322d
Add -fPIC to linker flags (additional to compiler flags). This is sometimes necessary as chronologicaldot reported in the forum: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=2&t=52708 Also gcc manual says this about the -shared flag: "For predictable results, you must also specify the same set of options used for compilation (-fpic, -fPIC, or model suboptions) when you specify this linker option." Add TODO for this about sharedlib_osx as I can't test that. Add documentation when "make clean" is needed. So far we only have a single set of .o files written in the same folder. So this has to be called basically on all changes. Use CPPFLAGS instead of CFLAGS, CXXFLAGS in a few places for options which should be used for all files. Add CFLAGS and CXXFLAGS for dependency files (not 100% certain about those, just seems to make more sense to me) git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6207 dfc29bdd-3216-0410-991c-e03cc46cb475 |
||
---|---|---|
.. | ||
Irrlicht | ||
source.txt |