[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63821] Switch -r fails to disable default suffix rules.

From: Paul D. Smith
Subject: [bug #63821] Switch -r fails to disable default suffix rules.
Date: Mon, 20 Feb 2023 13:50:05 -0500 (EST)

Follow-up Comment #3, bug #63821 (project make):

The title is slightly misleading because MAKEFLAGS += -r DOES disable default
suffix rules, it just doesn't remove them if you add back the extensions to
the .SUFFIXES target.

See this test from tests/scripts/options/dash-r which passes:

# Make sure we can set it from within the makefile too
COMPILE.c = echo
              "#MAKE#: *** No rule to make target 'xxx.o'.  Stop.", 512);

Since we don't set .SUFFIXES we get the answer we want.  I do agree that your
change is needed though: we shouldn't "recover" the rules by setting .SUFFIXES
without redefining them.


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]