From d1f7204649ff7c8bed36eab5af20c1a108af8b14 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 6 Nov 2018 13:04:11 +0100 Subject: config: Fix CONFIGURE_DISABLE_NEWLIB_REENTRANCY Move the __getreent() variant using the global reentrancy structure to librtemscpu.a. This avoids a definition of __getreent() in the configuration module if CONFIGURE_DISABLE_NEWLIB_REENTRANCY is defined. This avoids all the dependencies which would be exposed by a reference to the global reentrancy structure. This change is only possible since the default configuration moved to librtemsdefaultconfig.a recently. --- cpukit/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/Makefile.am') diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index b0d9088d44..786222bd81 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -151,6 +151,7 @@ librtemscpu_a_SOURCES += libcsupport/src/__getpid.c librtemscpu_a_SOURCES += libcsupport/src/getpid.c librtemscpu_a_SOURCES += libcsupport/src/getppid.c librtemscpu_a_SOURCES += libcsupport/src/getpwent.c +librtemscpu_a_SOURCES += libcsupport/src/getreentglobal.c librtemscpu_a_SOURCES += libcsupport/src/getrusage.c librtemscpu_a_SOURCES += libcsupport/src/__gettod.c librtemscpu_a_SOURCES += libcsupport/src/getuid.c -- cgit v1.2.3