aboutsummaryrefslogtreecommitdiff
path: root/mk/cc.mk
AgeCommit message (Collapse)Author
2017-05-30mk/cc.mk: make implicit function declarations fatal (#136)Sergei Trofimovich
Avoids issues with missing prototypes causing truncation of pointers. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2011-05-28cc.mk: move debug.mk out of end MakefilesMike Frysinger
Since we always want debug.mk whenever we include cc.mk, move the include out of the Makefiles and into cc.mk itself. This also fixes an include order bug in rc/Makefile where debug.mk is included before cc.mk and breaks the default CFLAGS setup in cc.mk. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-28cc.mk: enable -g by defaultMike Frysinger
Can do no harm! Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-04use make conditional for -cstd flagWilliam Hubbs
cc.mk was using ashell call to determine the value of the cstd variable. This reworks that code so it uses a make conditional.
2011-01-31use immediate evaluation for shell callsWilliam Hubbs
This reworks the shell calls in the makefiles to use immediate evaluation and should improve parallel building. X-Gentoo-Bug: 289264 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264
2009-05-01Add (c) to CopyrightRoy Marples
2008-09-18Use better CFLAGS - some new warnings will need to be fixed.Roy Marples
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-02-20Sanify the default cc flags.Roy Marples
2008-02-19Fix CSTD.Roy Marples
2008-02-19Default to using C99 standard.Roy Marples
2008-01-18Don't enforce a C99 compiler.Roy Marples
2008-01-10Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst ↵Roy Marples
keeping BSD for all BSD's.