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

Fixed compilation if GCC LTO enabled. #8

Open
wants to merge 1 commit into
base: 5.9
Choose a base branch
from
Open

Fixed compilation if GCC LTO enabled. #8

wants to merge 1 commit into from

Conversation

fedan
Copy link

@fedan fedan commented Aug 3, 2017

Hello!
I tested it on dev-qt / qtwebkit-5.7.1 in Calculate Linux x86_64 (Gentoo) and gcc-5.4.0.
Patched 3 branches: 5.7, 5.8, 5.9.
My config for LTO:

CC="/usr/bin/gcc"
CXX="/usr/bin/g++"
AR="/usr/bin/gcc-ar"
NM="/usr/bin/gcc-nm"
RANLIB="/usr/bin/gcc-ranlib"
LD="/usr/bin/ld.gold"
CFLAGS="-O3 -march=native -fomit-frame-pointer -pipe -flto=4 -fuse-linker-plugin -fuse-ld=gold"
CXXFLAGS="${CFLAGS}"
LDFLAGS="${CFLAGS} -Wl,--sort-common,--hash-style=gnu,--as-needed"

@ghost
Copy link

ghost commented Feb 10, 2020

This is just a mirror repository, no PRs here.

Copy link

cla-assistant bot commented Nov 15, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant