From cf800b5282c300ef6576aca65b700fe8cd20b948 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Thu, 11 Apr 2019 20:10:08 -0600 Subject: [PATCH] Add shared object for openlibm and pthreads-emb --- Makefile | 6 ++++++ pthreads-emb | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2ea04c3a..aebf24f6 100644 --- a/Makefile +++ b/Makefile @@ -140,6 +140,9 @@ $(BUILD)/openlibm: openlibm $(BUILD)/openlibm/libopenlibm.a: $(BUILD)/openlibm $(BUILD)/include $(MAKE) CC=$(CC) CPPFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libopenlibm.a +$(BUILD)/openlibm/libopenlibm.so: $(BUILD)/openlibm $(BUILD)/include + $(MAKE) CC=$(CC) CPPFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libopenlibm.so.2.5 + $(BUILD)/pthreads-emb: pthreads-emb rm -rf $@ $@.partial mkdir -p $(BUILD) @@ -149,3 +152,6 @@ $(BUILD)/pthreads-emb: pthreads-emb $(BUILD)/pthreads-emb/libpthread.a: $(BUILD)/pthreads-emb $(BUILD)/include $(MAKE) CC=$(CC) CFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libpthread.a + +$(BUILD)/pthreads-emb/libpthread.so: $(BUILD)/pthreads-emb $(BUILD)/include + $(MAKE) CC=$(CC) CFLAGS="-fno-stack-protector -I$(shell pwd)/include -I $(shell pwd)/$(BUILD)/include" -C $< libpthread.so diff --git a/pthreads-emb b/pthreads-emb index 0fd936b4..40b2b829 160000 --- a/pthreads-emb +++ b/pthreads-emb @@ -1 +1 @@ -Subproject commit 0fd936b4d47ea5e32c07d38d2b38789a5b995eef +Subproject commit 40b2b829bc26583cc091fdca064004cfdebc10c5 -- GitLab