summaryrefslogtreecommitdiff
path: root/make/unit-cc.pl
AgeCommit message (Collapse)Author
2020-01-11Remove whitespace between the shebang and the copyright header.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-04-22Link flags must be after compiled objects.iwalkalone
2018-07-31Remove support for static modules.Peter Powell
This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries.
2016-09-16Rewrite the build system directive parser.Peter Powell
2016-08-19Fix linker flags being in the wrong place on static builds.Peter Powell
2016-06-27Pass INSPIRCD_VERBOSE through the environment to unit-cc.Peter Powell
2015-06-03Fix modules with 2+ files not having their LinkerFlags parsed.Peter Powell
2015-05-13Remove run-cc.pl and all associated code.Peter Powell
As far as I can tell this only worked with older versions of GCC and there is no value in fixing it as diagnostics have improved since then and it makes errors hard to search for anyway. This also shaves off an average of five seconds on each build on my hardware. Neat!
2015-05-13unit-cc: Remove workaround which existed for 2.0.x only.Peter Powell
2015-05-13unit-cc: Use the same preamble as other Perl tools.Peter Powell
2014-10-27Merge insp20Attila Molnar
2014-08-27Fix unit-cc not loading configure cache when building files.Peter Powell
2014-03-05Integrate coremods into the build systemAttila Molnar
2013-08-16Clean up the build system properties and related code.Peter Powell
- Deduplicate getcompilerflags, getdependancies, getlinkerflags. - Remove $NoPedantic (add -Wno-pedantic to $CompileFlags instead). - Remove --enable-freebsd-ports-openssl and all related code (this will be replaced with --no-pkg-config=[name] in the future). - Remove some unused build system properties. - Remove support for caching third party include and library paths (can cause unexpected problems when they change).
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
2013-07-04Rename CXXFLAGS to CORECXXFLAGS to respect users enviroment.Peter Powell
2012-04-20Headers: update remaining scripts tooRobby-
2010-07-02Change argument order of LDLIBS to work properly with -Wl,--as-neededDaniel De Graaf
2010-05-07Use unit-cc for all compile and and link tasksDaniel De Graaf
This allows splitting .o and .so generation for distcc builds, and also removes some unneeded autodetection of build stage.
2010-03-18PURE_STATIC fixes to use normal <module> tagsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12641 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12Improve support for NetBSDdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12438 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-17PURE_STATIC improvements: Allow modules to be reloaded, generate linker ↵danieldg
arguments git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12276 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28Add directory change to unit-cc, to fix the immensely stupid BSD make ↵danieldg
behavior of changing directories git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11772 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28Fix warnings from BSD build and work around the failures of BSD makedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11771 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-18Fix unit-cc when build is not a direct subdirectory of source; create make ↵danieldg
rule for GNUmakefile git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11746 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Use CXXFLAGS rather than nonstandard NICEFLAGS/FLAGS/etcdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11571 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01Move dependency tracking from ./configure to Makefiledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11556 e03df62e-2008-0410-955e-edbf42e46eb7