diff dev/gcc/gcc.sh @ 715:150598ec37e7

vanilla: clang is the default /bin/cpp implementation
author David Demelier <markand@malikania.fr>
date Mon, 05 Aug 2019 12:38:51 +0200
parents 9de04ddc6f6d
children 59a2fa6992bc
line wrap: on
line diff
--- a/dev/gcc/gcc.sh	Fri Aug 02 21:20:00 2019 +0200
+++ b/dev/gcc/gcc.sh	Mon Aug 05 12:38:51 2019 +0200
@@ -77,7 +77,7 @@
 		--disable-bootstrap \
 		--disable-libsanitizer \
 		--disable-libgomp \
-		--with-pkgversion="Vanilla 0.1" \
+		--with-pkgversion="Vanilla 0.2" \
 		--disable-static \
 		$with_nls
 	make
@@ -87,6 +87,8 @@
 	done
 	rm -f $DESTDIR/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcc1plugin.la
 	rm -f $DESTDIR/lib/gcc/x86_64-linux-musl/8.3.0/plugin/libcp1plugin.la
+	# Avoid conflict with clang-cpp.
+	rm -f $DESTDIR/bin/cpp
 	cd ..
 
 	cd ..