diff options
author | nia <nia@pkgsrc.org> | 2021-11-18 14:07:59 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-11-18 14:07:59 +0000 |
commit | 2eaed8ebd24af33efe47d3f7539454741c8e0358 (patch) | |
tree | 49a9ff6b3c3d88ee759d17ca529aba29d4732662 /editors | |
parent | 1f9d84e8facfe2d1cfc91d580ea3ca86ba6e2e94 (diff) | |
download | pkgsrc-2eaed8ebd24af33efe47d3f7539454741c8e0358.tar.gz |
codeblocks: disable precompiled headers for GCC
incompatible with various hardening features among other nastiness
Diffstat (limited to 'editors')
-rw-r--r-- | editors/codeblocks/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/codeblocks/Makefile b/editors/codeblocks/Makefile index 75f3247e00f..f79cc846bb6 100644 --- a/editors/codeblocks/Makefile +++ b/editors/codeblocks/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2020/08/17 20:18:31 leot Exp $ +# $NetBSD: Makefile,v 1.19 2021/11/18 14:07:59 nia Exp $ # DISTNAME= codeblocks-20.03 @@ -17,6 +17,12 @@ USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake USE_LANGUAGES= c c++11 +.include "../../mk/bsd.prefs.mk" + +.if !empty(PKGSRC_COMPILER:M*gcc*) +CONFIGURE_ARGS+= --disable-pch +.endif + #CONFIGURE_ARGS+= --disable-gtk-notebook CONFIGURE_ARGS+= --with-contrib-plugins=AutoVersioning,BrowseTracker,-MouseSap,byogames,cbkoders,codesnippets,codestat,dragscroll,envvars,help,keybinder,libfinder,profiler,regex,exporter,symtab # wxsmith makes error in build process |