From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70645 invoked by alias); 17 May 2015 03:47:54 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 70592 invoked by uid 89); 17 May 2015 03:47:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f180.google.com Received: from mail-yk0-f180.google.com (HELO mail-yk0-f180.google.com) (209.85.160.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 17 May 2015 03:47:47 +0000 Received: by ykep21 with SMTP id p21so44645504yke.3 for ; Sat, 16 May 2015 20:47:45 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.236.110.164 with SMTP id u24mr16600457yhg.134.1431834465105; Sat, 16 May 2015 20:47:45 -0700 (PDT) Received: by 10.129.113.5 with HTTP; Sat, 16 May 2015 20:47:45 -0700 (PDT) Date: Sun, 17 May 2015 03:47:00 -0000 Message-ID: Subject: Disable CPU detection From: Daniel Kasak To: libffi-discuss@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015/txt/msg00074.txt.bz2 Hi all. I'm building some libraries for distribution on Windows ( shudder ), using a Windows 7 VM. I see that the configure script for libffi detects my CPU ( Opteron ) and sets up CFLAGS to match. Is there an easy way of disabling this detection so I can safely redistribute to people who don't have Opterons? For now, I've grepped for the offending -march entries and manually edited then out ... Thanks :) Dan