https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192685

--- Comment #6 from Carlos Jacobo Puga Medina <[email protected]> ---
Use the following patch to build chromium with GCC:

--- Makefile.orig    2014-08-17 17:50:49.000000000 +0200
+++ Makefile    2014-08-17 17:52:32.000000000 +0200
@@ -60,6 +60,7 @@
         perl5 shebangfix ninja tar:xz python:2,build execinfo
 CPE_VENDOR=    google
 CPE_PRODUCT=    chrome
+USE_GCC=    4.7
 USE_PERL5=    build
 USE_XORG=    scrnsaverproto x11 xproto xscrnsaver xtst
 USE_GNOME=    glib20 gtk20 dconf libxslt
@@ -192,6 +193,10 @@

 .include <bsd.port.pre.mk>

+CHOSEN_COMPILER_TYPE=    gcc
+COMPILER_TYPE=    gcc
+COMPILER_VERSION=    47
+
 .if ${CHOSEN_COMPILER_TYPE} == gcc
 GYP_DEFINES+=    gcc_version=${CXX:S/g++//}
 CFLAGS+=    -Wno-unknown-warning

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
To unsubscribe, send any mail to "[email protected]"

Reply via email to