-
Notifications
You must be signed in to change notification settings - Fork 60
fix: don't ignore linker flags specified by system #82
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
Conversation
License: REUSE Compliance Check failedDetails# MISSING COPYRIGHT AND LICENSING INFORMATIONThe following files have no copyright and licensing information:
The following files have no licensing information:
SUMMARY
Unfortunately, your project is not compliant with version 3.0 of the REUSE Specification :-( |
|
missing README.zh_CN.md |
|
/check |
|
Deepin Obs Bot |
|
Hello, because this PR is a little different from the latest code, please update this PR or re-submit PR. |
|
TAG Bot New tag: 6.0.1 |
|
TAG Bot New tag: 6.0.2 |
|
TAG Bot New tag: 6.5.0 |
|
TAG Bot New tag: 6.5.1 |
|
TAG Bot New tag: 6.5.2 |
|
TAG Bot New tag: 6.5.3 |
|
TAG Bot New tag: 6.5.4 |
Make use of CMAKE_EXE_LINKER_FLAGS Log: Don't ignore linker flags specified by system
Rebased now. |
|
TAG Bot New tag: 6.5.5 |
|
TAG Bot New tag: 6.5.6 |
|
TAG Bot New tag: 6.5.7 |
|
TAG Bot New tag: 6.5.8 |
|
TAG Bot New tag: 6.5.9 |
|
TAG Bot New tag: 6.5.10 |
|
TAG Bot New tag: 6.5.11 |
|
TAG Bot New tag: 6.5.12 |
|
TAG Bot New tag: 6.5.13 |
|
TAG Bot New tag: 6.5.14 |
|
TAG Bot New tag: 6.5.15 |
|
TAG Bot New tag: 6.5.16 |
|
TAG Bot New tag: 6.5.17 |
|
TAG Bot New tag: 6.5.18 |
|
TAG Bot New tag: 6.5.19 |
|
TAG Bot New tag: 6.5.20 |
|
TAG Bot New tag: 6.5.21 |
|
TAG Bot New tag: 6.5.22 |
|
TAG Bot New tag: 6.5.23 |
|
TAG Bot New tag: 6.5.24 |
|
TAG Bot New tag: 6.5.25 |
deepin pr auto review这段diff修改了CMakeLists.txt中的CMAKE_EXE_LINKER_FLAGS设置,我来分析一下这个修改:
改进建议:
例如,可以这样改进: # Security flags
set(SECURITY_LINKER_FLAGS "-pie -Wl,-z,relro,-z,now")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${SECURITY_LINKER_FLAGS}")这样的修改既保持了原有功能,又提高了代码的可维护性和安全性。 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BLumia, felixonmars, qaqland The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Make use of CMAKE_EXE_LINKER_FLAGS
Log: Don't ignore linker flags specified by system