From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 2 15:11:51 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA85E1065674; Sat, 2 Jul 2011 15:11:51 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8DBC68FC0C; Sat, 2 Jul 2011 15:11:51 +0000 (UTC) Received: by pvg11 with SMTP id 11so4756595pvg.13 for ; Sat, 02 Jul 2011 08:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=Bn10hDdtVZXluB/MC+yY0ptq3oUeKkoWIzruaMPELTU=; b=EhsE8IYXga8/5LRC/JVnjYJQyeUAKX2C2ysQRxfO03jRZ+hN9KWve+ehW0o0BDo0+m 311QhRX4eynZYo9kuYF4RSf3FB4EzDW/4iV7DRTEpJCJwGSbIjLjRIB4BT1+acWiceU9 qdL/0hqbxqP1eN6B409bzNJF6mm8Psuvfi4pY= MIME-Version: 1.0 Received: by 10.68.27.41 with SMTP id q9mr4614726pbg.337.1309619511105; Sat, 02 Jul 2011 08:11:51 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.47.138 with HTTP; Sat, 2 Jul 2011 08:11:51 -0700 (PDT) Date: Sat, 2 Jul 2011 17:11:51 +0200 X-Google-Sender-Auth: rdU9THJH-oF1dmNMvGkVkLzhma8 Message-ID: From: Robert Millan To: freebsd-hackers@freebsd.org, Ed Maste , obrien@freebsd.org Content-Type: multipart/mixed; boundary=bcaec520f191c018d904a7178ddd Cc: Subject: [PATCH] Remove -nostdinc in aicasm X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2011 15:11:51 -0000 --bcaec520f191c018d904a7178ddd Content-Type: text/plain; charset=UTF-8 The userland aicasm utility in sys/dev/aic7xxx/aicasm/Makefile is being built with "-nostdinc -I/usr/include" options. Unfortunately this breaks building aicasm on systems using the upstream version of GCC, where "-nostdinc" disables more search directories than are enabled by "-I/usr/include". This was introduced by obrien (CCed) in 2002, apparently to remove a warning. I've verified that removing it doesn't produce any warnings on FreeBSD 9-CURRENT environment. Please consider this patch to remove -nostdinc in that file. -- Robert Millan --bcaec520f191c018d904a7178ddd Content-Type: text/plain; charset=US-ASCII; name="aicasm_nostdinc.diff" Content-Disposition: attachment; filename="aicasm_nostdinc.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gpmpmmwb0 SW5kZXg6IHN5cy9kZXYvYWljN3h4eC9haWNhc20vTWFrZWZpbGUKPT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lz L2Rldi9haWM3eHh4L2FpY2FzbS9NYWtlZmlsZQkocmV2aXNpb24gMjIzNzIxKQorKysgc3lzL2Rl di9haWM3eHh4L2FpY2FzbS9NYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMjQsOCArMjQsNyBA QAogREVQRU5ERklMRT0JLmRlcGVuZF9haWNhc20KIC5lbmRpZgogCi1OT1NURElOQz0JLW5vc3Rk aW5jCi1DRkxBR1MrPSAke05PU1RESU5DfSAtSS91c3IvaW5jbHVkZSAtSS4KK0NGTEFHUys9IC1J LgogLmlmZGVmIE1BS0VTUkNQQVRICiBDRkxBR1MrPSAtSSR7TUFLRVNSQ1BBVEh9CiAuZW5kaWYK --bcaec520f191c018d904a7178ddd--