Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove harmful rpath in LDFLAGS and fix logic for cargo. #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

xambroz
Copy link

@xambroz xambroz commented Apr 3, 2021

This patch is from Debian libemu package - libemu-03_remove_rpath_and_fix_ldflags.patch
https://packages.debian.org/search?searchon=sourcenames&keywords=libemu

Description: Remove harmful rpath in LDFLAGS and fix logic for cargo.
Before this patch, libemu was searching for includes and also had an rpath
for libraries in /usr/local/lib. Also the logic for libcargo is wrong, as
makes the content of LDFLAGS empty if cargo is enabled but there are no
headers in the system. This was preventing proper hardening to be activated
in Debian.
Author: David Martínez Moreno ender@debian.org
Forwarded: no
Reviewed-By: David Martínez Moreno ender@debian.org
Last-Update: 2012-10-14

xambroz added 3 commits April 3, 2021 23:50
This patch is from Debian libemu package - libemu-03_remove_rpath_and_fix_ldflags.patch
https://packages.debian.org/search?searchon=sourcenames&keywords=libemu

Description: Remove harmful rpath in LDFLAGS and fix logic for cargo.
Before this patch, libemu was searching for includes and also had an rpath
for libraries in /usr/local/lib. Also the logic for libcargo is wrong, as
makes the content of LDFLAGS empty if cargo is enabled but there are no
headers in the system. This was preventing proper hardening to be activated
in Debian.
Author: David Martínez Moreno ender@debian.org
Forwarded: no
Reviewed-By: David Martínez Moreno ender@debian.org
Last-Update: 2012-10-14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant