summaryrefslogtreecommitdiff
path: root/math/lapack++/files/patch-configure
blob: 9055b19b0c1de3b9d7e7b5147553254902f3e8ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig
+++ configure
@@ -26093,7 +26093,7 @@
     *)
       ARCH="OS_${target_os}"
       # Workaround for bogus system names
-      ARCH=` echo ${ARCH} | ${SED} 's/^a-z0-9_//g' `
+      ARCH=` echo ${ARCH} | ${SED} 's/[^A-Za-z0-9_]//g' `
       ;;
 esac
 { echo "$as_me:$LINENO: result: $ARCH" >&5