This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commited] Fix $(error) use in Makefile


* elf/rtld-Rules: Fix $(error) use.
---
 ChangeLog      | 1 +
 elf/rtld-Rules | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

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
-- 
2.14.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]