nptl: Move futex-internal.c into main nptl directory

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer 2021-02-22 18:30:52 +01:00
parent f720ce680e
commit 541e53c9dd
3 changed files with 4 additions and 2 deletions

View File

@ -97,6 +97,7 @@ libpthread-routines = \
flockfile \ flockfile \
ftrylockfile \ ftrylockfile \
funlockfile \ funlockfile \
futex-internal \
herrno \ herrno \
libpthread-compat \ libpthread-compat \
lowlevellock \ lowlevellock \
@ -314,6 +315,8 @@ CFLAGS-fsync.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pt-system.c += -fexceptions CFLAGS-pt-system.c += -fexceptions
CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
LDLIBS-tst-once5 = -lstdc++ LDLIBS-tst-once5 = -lstdc++
CFLAGS-tst-thread_local1.o = -std=gnu++11 CFLAGS-tst-thread_local1.o = -std=gnu++11
LDLIBS-tst-thread_local1 = -lstdc++ LDLIBS-tst-thread_local1 = -lstdc++

View File

@ -17,8 +17,7 @@
# <https://www.gnu.org/licenses/>. # <https://www.gnu.org/licenses/>.
ifeq ($(subdir),nptl) ifeq ($(subdir),nptl)
libpthread-sysdep_routines += errno-loc futex-internal libpthread-sysdep_routines += errno-loc
CFLAGS-futex-internal.c += -fexceptions -fasynchronous-unwind-tables
endif endif
ifeq ($(subdir),rt) ifeq ($(subdir),rt)