diff mbox series

[commited] Fix $(error) use in Makefile

Message ID 20170910154022.31542-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [commited] Fix $(error) use in Makefile | expand

Commit Message

Samuel Thibault Sept. 10, 2017, 3:40 p.m. UTC
* elf/rtld-Rules: Fix $(error) use.
---
 ChangeLog      | 1 +
 elf/rtld-Rules | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/ChangeLog b/ChangeLog
index a31824b372..7a2f865b7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@ 
 
 	* sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
 	seconds.
+	* elf/rtld-Rules: Fix $(error) use.
 
 2017-09-09  Mike FABIAN  <mfabian@redhat.com>
 
diff --git a/elf/rtld-Rules b/elf/rtld-Rules
index 2c7b99828c..a1df9bf2ad 100644
--- a/elf/rtld-Rules
+++ b/elf/rtld-Rules
@@ -29,7 +29,7 @@  rtld-all:
 # When run from the elf/Makefile to build rtld-libc.a, $(subdir) is elf.
 ifneq ($(subdir),elf)
 ifndef rtld-modules
-error rtld-modules not set
+$(error rtld-modules not set)
 endif
 endif
 
@@ -37,7 +37,7 @@  ifndef rtld-modules
 # Running to build rtld-libc.a, driving runs of $(rtld-subdir-make), below.
 
 ifndef rtld-subdirs
-error This makefile is a subroutine of elf/Makefile not to be used directly
+$(error This makefile is a subroutine of elf/Makefile not to be used directly)
 endif
 
 include ../Makeconfig