Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nV6Jq-0006ZF-I2 for mharc-grub-devel@gnu.org; Fri, 18 Mar 2022 02:42:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nV6Ja-0006Us-9w for grub-devel@gnu.org; Fri, 18 Mar 2022 02:42:26 -0400 Received: from [2607:f8b0:4864:20::f29] (port=42512 helo=mail-qv1-xf29.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nV6JY-0004oQ-Rv for grub-devel@gnu.org; Fri, 18 Mar 2022 02:42:21 -0400 Received: by mail-qv1-xf29.google.com with SMTP id e22so5883375qvf.9 for ; Thu, 17 Mar 2022 23:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tJq70fAxNhCnfdb+LBdILt0XNwtjS/Ose7o6QgOvDxY=; b=zZOw3vtb7J47Ls90zeWgDtNJaNziMgZ6/0+SAEv4ExTiVe7ueixdy/5fIP0bjp0WPt iYU2SJrnR+PDIHLhVvuczrgjHkXOoDe0cszMo16HPXfAORARlExgkxCzBG7UJsOHr3Iq N1jybhJswgmi+fsSeU+NNyFaHtgToRTk0ccRsLwVheyjdNGjO89xuV6XHaj051sHAIoH g4Ovv5QVuVwentNVTt/aO2n6FneDQi+4qjCcvtVu69McoB133xYP5vtX39KivnyVq4/J S9bMkuUeGGkg8PYzh/nz0jfdOsiTNd3KE8WUgLKzVwY0eqQZiJcIXpGBBY2LPkNZfGg7 MT6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tJq70fAxNhCnfdb+LBdILt0XNwtjS/Ose7o6QgOvDxY=; b=V+J0HdVtiSFqRHpNUymmYi1ZhUK+38UeCTr8uenGqZMg/Yvi0Bp5TBaoIvrm194l+F PUYybga/hvH3yim8VuH1Uz5zuprXxqDvOSeKpe6iPD+RIFtdAoI2xCg5y+VZQLuQprVG DiF/Gsfs8iHjzprvxApZbwZnNCe/wMvNlt6mlxYDVdSxp6cGSTLo/6RYcwWCr4/4WAl3 EWwGmMgMgtYDa7G9EDgVlx997gxYxz0Z42/O7N3BN/njI6U/y9UiJicKK1UnQM0bANPp fF2KQXZhUpRC7I4qX8iUdkB+pJLyyit4Pq/H/EQZ9ktWX68sQG2yydcn7fjJthNelhia EZ0g== X-Gm-Message-State: AOAM531h8J0xnAqXveO+509cNnd8AV/AetVxJE6kOxZ+JFEK/gXmNejq ksWZKot2/n0/3qOOsgHlNNOe6IaIT6HcpQ== X-Google-Smtp-Source: ABdhPJwsy7m/XspJqah7wZPER7hiFuv+fc1qoUsIEwk1NdaY1TfqCrBRh/OIkn9lQcxdFS1MqVjGzA== X-Received: by 2002:a05:6214:29c8:b0:440:fac2:a6c with SMTP id gh8-20020a05621429c800b00440fac20a6cmr1883990qvb.96.1647585739816; Thu, 17 Mar 2022 23:42:19 -0700 (PDT) Received: from localhost.localdomain (51-15-0-88.rev.poneytelecom.eu. [51.15.0.88]) by smtp.gmail.com with ESMTPSA id y12-20020a05622a164c00b002e1e277885esm5054063qtj.8.2022.03.17.23.42.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 23:42:19 -0700 (PDT) From: Glenn Washburn To: Daniel Kiper , grub-devel@gnu.org Cc: Glenn Washburn Subject: [PATCH 4/5] configure: Remove unused CFLAGS definitions Date: Fri, 18 Mar 2022 01:41:38 -0500 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f29 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f29; envelope-from=development@efficientek.com; helo=mail-qv1-xf29.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2022 06:42:27 -0000 These CFLAGS definitions are reset below them before they have a change to affect anything. The exception is the *-emu case, which is put in the next if block, which is the only place its used before getting reset. Signed-off-by: Glenn Washburn --- configure.ac | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 0e50f9577b..17679b641d 100644 --- a/configure.ac +++ b/configure.ac @@ -1424,17 +1424,11 @@ fi # Set them to their new values for the tests below. CC="$TARGET_CC" -if test x"$platform" = xemu ; then -CFLAGS="$TARGET_CFLAGS -Wno-error" -elif test "x$TARGET_APPLE_LINKER" = x1 ; then -CFLAGS="$TARGET_CFLAGS -nostdlib -static -Wno-error" -else -CFLAGS="$TARGET_CFLAGS -nostdlib -Wno-error" -fi CPPFLAGS="$TARGET_CPPFLAGS" # Check for libgcc symbols if test x"$platform" = xemu; then +CFLAGS="$TARGET_CFLAGS -Wno-error" AC_CHECK_FUNCS(__udivsi3 __umodsi3 __divsi3 __modsi3 __divdi3 __moddi3 __udivdi3 __umoddi3 __ctzdi2 __ctzsi2 __clzdi2 __aeabi_uidiv __aeabi_uidivmod __aeabi_idiv __aeabi_idivmod __aeabi_ulcmp __muldi3 __aeabi_lmul __aeabi_memcpy __aeabi_memcpy4 __aeabi_memcpy8 __aeabi_memclr __aeabi_memclr4 __aeabi_memclr8 __aeabi_memset __aeabi_lasr __aeabi_llsl __aeabi_llsr _restgpr_14_x __ucmpdi2 __ashldi3 __ashrdi3 __lshrdi3 __bswapsi2 __bswapdi2 __bzero __register_frame_info __deregister_frame_info ___chkstk_ms __chkstk_ms) fi -- 2.27.0