Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B24CFD24C for ; Wed, 8 Aug 2012 00:42:30 +0000 (UTC) Received: (qmail 86017 invoked by uid 500); 8 Aug 2012 00:42:30 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 85963 invoked by uid 500); 8 Aug 2012 00:42:30 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 85955 invoked by uid 99); 8 Aug 2012 00:42:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2012 00:42:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2012 00:42:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 42EC423888FD; Wed, 8 Aug 2012 00:41:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1370616 - /httpd/httpd/trunk/build/NWGNUenvironment.inc Date: Wed, 08 Aug 2012 00:41:44 -0000 To: cvs@httpd.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120808004144.42EC423888FD@eris.apache.org> Author: fuankg Date: Wed Aug 8 00:41:43 2012 New Revision: 1370616 URL: http://svn.apache.org/viewvc?rev=1370616&view=rev Log: More NetWare build tweaks. Make use of CFLAGS from environment. Added default maxerrors value 1 so that the compiler breaks after 1st error; can be overwritten with CC_MAX_ERRORS var. Modified: httpd/httpd/trunk/build/NWGNUenvironment.inc Modified: httpd/httpd/trunk/build/NWGNUenvironment.inc URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/NWGNUenvironment.inc?rev=1370616&r1=1370615&r2=1370616&view=diff ============================================================================== --- httpd/httpd/trunk/build/NWGNUenvironment.inc (original) +++ httpd/httpd/trunk/build/NWGNUenvironment.inc Wed Aug 8 00:41:43 2012 @@ -238,7 +238,13 @@ endif # -proc PII generate code base on Pentium II instruction set # -inst mmx use MMX extensions (Not used) -CFLAGS = -c -w nocmdline -gccinc -Cpp_exceptions off -RTTI off -align 4 -proc PII +CFLAGS += -c -w nocmdline -gccinc -Cpp_exceptions off -RTTI off -align 4 -proc PII + +ifdef CC_MAX_ERRORS +CFLAGS += -maxerrors $(CC_MAX_ERRORS) +else +CFLAGS += -maxerrors 1 +endif ifeq "$(REQUIRE_PROTOTYPES)" "1" CFLAGS += -r