Comments (8)
Why fpic isn't here? I thought, it added everywhere.
from xash3d-fwgs.
on compile only, but LTO need compiler flags (including -fPIC) passed to linker too
from xash3d-fwgs.
@mittorn where can I find a documentation of this behaviour?
from xash3d-fwgs.
How LTO will generate code if it does not know correct compiler flags?
from xash3d-fwgs.
@mittorn I understand this, but I sure we can't just append C/C++ flags to linker flags?
from xash3d-fwgs.
all -f* and machine flags should be passed. I not sure about warnings, but lto may pooduce warnings too. preprocessor flags not needed of cause
from xash3d-fwgs.
From gcc docs:
To use the link-time optimizer, -flto and optimization options should be specified at compile time and during the final link. It is recommended that you compile all the files participating in the same link with the same options and also specify those options at link time
from xash3d-fwgs.
Fixed.
from xash3d-fwgs.
Related Issues (20)
- Builds outside source tree are broken
- Don't working on Android 14 HOT 1
- Adding CSM model format support HOT 1
- Video Glitches and slowness when explosions, raybeams using gles3compat
- Не включается электричество в главе Blast Pit при прохождении HOT 9
- Не получается тянуть ящики HOT 6
- Android version crashes when launching hl HOT 15
- SysCrash when loading any map HOT 6
- I can't start xash3d and keeps crashing HOT 5
- MOVETYPE_FOLLOW entities attached to movable entities are flickering HOT 3
- Engine doesn't send to player his player entity HOT 3
- SVC_SPAWNSTATICSOUND is not implemented HOT 16
- kRenderFxGlowShell rendering incorrectly HOT 6
- --disable-werror must enable some -Werror flags HOT 1
- Sys_crash when starting campaign, changing to a different game, exiting xash, starting hazard course HOT 6
- Where to put SDL2 dev package?
- Crash While booting HOT 2
- Crash? HOT 2
- [MOD: Brutal Half-Life beta 2] Обезглавленные NPC HOT 2
- Crash on updating Con_LoadHistory method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xash3d-fwgs.