forked from pool/virtualbox
e05a2be955
initial gcc5 support (it builds at least) OBS-URL: https://build.opensuse.org/request/show/308894 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=195
17 lines
785 B
Diff
17 lines
785 B
Diff
Index: configure
|
|
===================================================================
|
|
--- configure (revision 55371)
|
|
+++ configure (revision 55372)
|
|
@@ -422,8 +422,9 @@
|
|
-o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
|
|
-o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
|
|
-o \( $cc_maj -eq 4 -a $cc_min -gt 9 \) \
|
|
- -o $cc_maj -gt 4 ]; then
|
|
- log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10"
|
|
+ -o \( $cc_maj -eq 5 -a $cc_min -gt 0 \) \
|
|
+ -o $cc_maj -gt 5 ]; then
|
|
+ log_failure "gcc version $cc_maj.$cc_min found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10 or gcc 5.0"
|
|
fail really
|
|
else
|
|
log_success "found version $cc_ver"
|