Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 764312 Details for
Bug 832677
sys-libs/libucontext: Build does not contain weak / unprefixed symbols
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A rudimentary patch to include -DUNPREFIXED_SYMBOLS manually, since CFLAGS is overridden by the ebuild.
libucontext-1.1-unprefixed.patch (text/plain), 2.14 KB, created by
Andrew Athalye
on 2022-02-04 05:00:09 UTC
(
hide
)
Description:
A rudimentary patch to include -DUNPREFIXED_SYMBOLS manually, since CFLAGS is overridden by the ebuild.
Filename:
MIME Type:
Creator:
Andrew Athalye
Created:
2022-02-04 05:00:09 UTC
Size:
2.14 KB
patch
obsolete
>diff --git a/Makefile b/Makefile >index e2b9bfc..b76b43f 100644 >--- a/Makefile >+++ b/Makefile >@@ -105,10 +105,10 @@ MANPAGES = ${MANPAGES_3} > docs: ${MANPAGES} > > .c.o: >- $(CC) -std=gnu99 -D_BSD_SOURCE -fPIC -DPIC ${CFLAGS} ${CPPFLAGS} -c -o $@ $< >+ $(CC) -std=gnu99 -D_BSD_SOURCE -fPIC -DPIC ${CFLAGS} -DEXPORT_UNPREFIXED ${CPPFLAGS} -c -o $@ $< > > .S.o: >- $(CC) -fPIC -DPIC ${CFLAGS} ${CPPFLAGS} -c -o $@ $< >+ $(CC) -fPIC -DPIC ${CFLAGS} -DEXPORT_UNPREFIXED ${CPPFLAGS} -c -o $@ $< > > ${LIBUCONTEXT_NAME}_clean: > rm -f ${LIBUCONTEXT_NAME} >@@ -190,7 +190,7 @@ check_libucontext_posix: test_libucontext_posix ${LIBUCONTEXT_POSIX_SONAME} > env LD_LIBRARY_PATH=$(shell pwd) ./test_libucontext_posix > > test_libucontext_posix: test_libucontext_posix.c ${LIBUCONTEXT_POSIX_NAME} >- $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ -L. -lucontext -lucontext_posix >+ $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} -DEXPORT_UNPREFIXED ${CPPFLAGS} $@.c -o $@ -L. -lucontext -lucontext_posix > endif > > ifeq ($(EXPORT_UNPREFIXED),yes) >@@ -200,18 +200,18 @@ check_libucontext_bare_posixabi: test_libucontext_bare_posixabi ${LIBUCONTEXT_SO > env LD_LIBRARY_PATH=$(shell pwd) ./test_libucontext_bare_posixabi > > test_libucontext_bare_posixabi: test_libucontext_posix.c ${LIBUCONTEXT_NAME} >- $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} test_libucontext_posix.c -o $@ -L. -lucontext >+ $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} -DEXPORT_UNPREFIXED ${CPPFLAGS} test_libucontext_posix.c -o $@ -L. -lucontext > endif > > check: test_libucontext ${LIBUCONTEXT_SONAME} > env LD_LIBRARY_PATH=$(shell pwd) ./test_libucontext > > test_libucontext: test_libucontext.c ${LIBUCONTEXT_NAME} >- $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ -L. -lucontext >+ $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} -DEXPORT_UNPREFIXED ${CPPFLAGS} $@.c -o $@ -L. -lucontext > > examples: ${LIBUCONTEXT_EXAMPLES} > examples/cooperative_threading: examples/cooperative_threading.c ${LIBUCONTEXT_NAME} >- $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} ${CPPFLAGS} $@.c -o $@ -L. -lucontext >+ $(CC) -std=gnu99 -D_BSD_SOURCE ${CFLAGS} -DEXPORT_UNPREFIXED ${CPPFLAGS} $@.c -o $@ -L. -lucontext > > ifeq ($(FREESTANDING),no) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 832677
:
764312
|
764319
|
764322