From patchwork Sun Aug 4 11:38:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Kettenis X-Patchwork-Id: 2838408 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 723F59F479 for ; Sun, 4 Aug 2013 11:45:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96FB720164 for ; Sun, 4 Aug 2013 11:45:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 639EC20121 for ; Sun, 4 Aug 2013 11:45:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 28F17E5FEC for ; Sun, 4 Aug 2013 04:45:14 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org X-Greylist: delayed 403 seconds by postgrey-1.32 at gabe; Sun, 04 Aug 2013 04:45:00 PDT Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by gabe.freedesktop.org (Postfix) with ESMTP id 9FE71E5C63 for ; Sun, 4 Aug 2013 04:45:00 -0700 (PDT) Received: from brahms.sibelius.xs4all.nl (sibelius.xs4all.nl [83.163.83.176]) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id r74BcEnR048696; Sun, 4 Aug 2013 13:38:14 +0200 (CEST) (envelope-from mark.kettenis@xs4all.nl) From: Mark Kettenis To: intel-gfx@lists.freedesktop.org Date: Sun, 4 Aug 2013 13:38:10 +0200 Message-Id: <1375616290-30024-1-git-send-email-mark.kettenis@xs4all.nl> X-Mailer: git-send-email 1.8.3.3 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Mark Kettenis Subject: [Intel-gfx] [PATCH xf86-video-intel] sna: Fix compilation with older GCC X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mark Kettenis Signed-off-by: Mark Kettenis --- src/sna/compiler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sna/compiler.h b/src/sna/compiler.h index 2f5dfc7..28d3351 100644 --- a/src/sna/compiler.h +++ b/src/sna/compiler.h @@ -67,6 +67,8 @@ #if HAS_GCC(4, 6) && defined(__OPTIMIZE__) #define fast __attribute__((optimize("Ofast"))) +#else +#define fast #endif #if HAS_GCC(4, 6) && defined(__OPTIMIZE__)