From 2e5432bd0a5b09c20b10de6e649270b46c35f747 Mon Sep 17 00:00:00 2001 From: Tomasz Pala Date: Fri, 9 May 2003 16:02:47 +0000 Subject: [PATCH] - linuxthreads won't work w/o fp, glibc will Changed files: glibc-lthrds_noomit.patch -> 1.1 --- glibc-lthrds_noomit.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 glibc-lthrds_noomit.patch diff --git a/glibc-lthrds_noomit.patch b/glibc-lthrds_noomit.patch new file mode 100644 index 0000000..6d8a7c5 --- /dev/null +++ b/glibc-lthrds_noomit.patch @@ -0,0 +1,14 @@ +--- glibc-2.3.2/linuxthreads/Makefile.orig Sat Feb 22 02:01:16 2003 ++++ glibc-2.3.2/linuxthreads/Makefile Fri May 9 10:01:53 2003 +@@ -73,6 +73,11 @@ + others: $(objpfx)libpthread_nonshared.a + endif + ++ifeq ($(build-omitfp),yes) ++CFLAGS-.o := $(filter-out -fomit-frame-pointer, $(CFLAGS-.o)) ++CFLAGS-.os := $(filter-out -fomit-frame-pointer, $(CFLAGS-.os)) ++endif ++ + $(objpfx)libpthread_nonshared.a: $(addprefix $(objpfx),$(addsuffix .os,$(libpthread-nonshared))) + $(AR) $(ARFLAGS) $@ $^ + -- 2.44.0