pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/codeblocks codeblocks: disable precompiled hea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4cb0ff190129
branches:  trunk
changeset: 769669:4cb0ff190129
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Nov 18 14:07:59 2021 +0000

description:
codeblocks: disable precompiled headers for GCC

incompatible with various hardening features among other nastiness

diffstat:

 editors/codeblocks/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 81a5130a0c1b -r 4cb0ff190129 editors/codeblocks/Makefile
--- a/editors/codeblocks/Makefile       Thu Nov 18 14:07:20 2021 +0000
+++ b/editors/codeblocks/Makefile       Thu Nov 18 14:07:59 2021 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index