From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 57F623857C66 for ; Fri, 29 Sep 2023 09:33:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 57F623857C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695979990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uzHnJ0afzdnzTtCHRomuCFgsp34g598xEUc8/DRwSu0=; b=G5gpS8d2X+5t5QzLvIuo+yg2Qk+WKrY+kDUiud2znKhJMAKiy4GERMkdlTOoaGoItt+Oto 8LfLw2m0EXbAxzDPnF5qT2ocLsqAhWewF19nx9Zm51eAI87eo9vhJ4Tsp90uCKz+CWUiTl /X1hQc46KmBZx47/BbSv8vF9FR6ZfLs= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-651-CKyggqvoPuqGpiX8yRqRrw-1; Fri, 29 Sep 2023 05:33:08 -0400 X-MC-Unique: CKyggqvoPuqGpiX8yRqRrw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 449D729AA3BF for ; Fri, 29 Sep 2023 09:33:08 +0000 (UTC) Received: from x1carbon.redhat.com (unknown [10.45.225.127]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 64307492C37; Fri, 29 Sep 2023 09:33:07 +0000 (UTC) From: Arjun Shankar To: libc-alpha@sourceware.org, Arjun Shankar Subject: [COMMITTED] [PATCH] Remove unused -DRESOLVER getaddrinfo build flag Date: Fri, 29 Sep 2023 11:31:17 +0200 Message-ID: <20230929093245.221339-1-arjun@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: getaddrinfo doesn't look for any RESOLVER defines for conditional compilation. Therefore, remove the unnecessary -DRESOLVER build flag in getaddrinfo's CFLAGS. Checked on x86_64 for code generation changes; none found. --- I've committed this as obvious. --- posix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posix/Makefile b/posix/Makefile index 905cf9fb54..c36b9d981e 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -555,7 +555,7 @@ $(objpfx)config-name.h: $(..)scripts/config-uname.sh $(common-objpfx)config.make '$(config-machine)-$(config-vendor)' > $@.new mv -f $@.new $@ -CFLAGS-getaddrinfo.c += -DRESOLVER -fexceptions +CFLAGS-getaddrinfo.c += -fexceptions CFLAGS-pause.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-pread.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-pread64.c += -fexceptions -fasynchronous-unwind-tables $(config-cflags-wno-ignored-attributes) -- 2.41.0