mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fix the Linux mapster32 build with LTO enabled.
git-svn-id: https://svn.eduke32.com/eduke32@3136 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7e62f10728
commit
27a39f1982
2 changed files with 4 additions and 2 deletions
|
@ -206,7 +206,7 @@ endif
|
||||||
|
|
||||||
|
|
||||||
# compiler flags etc.
|
# compiler flags etc.
|
||||||
BASECFLAGS=
|
BASECFLAGS= -Wno-attributes
|
||||||
BASECONLYFLAGS=-Wimplicit -Wdeclaration-after-statement
|
BASECONLYFLAGS=-Wimplicit -Wdeclaration-after-statement
|
||||||
BASECXXFLAGS= -fno-exceptions -fno-rtti -fpermissive
|
BASECXXFLAGS= -fno-exceptions -fno-rtti -fpermissive
|
||||||
BASEASFLAGS=-s #-g
|
BASEASFLAGS=-s #-g
|
||||||
|
|
|
@ -415,7 +415,9 @@ EXTERN char show2dwall[(MAXWALLS+7)>>3];
|
||||||
EXTERN char show2dsprite[(MAXSPRITES+7)>>3];
|
EXTERN char show2dsprite[(MAXSPRITES+7)>>3];
|
||||||
//EXTERN char automapping;
|
//EXTERN char automapping;
|
||||||
|
|
||||||
EXTERN char gotpic[(MAXTILES+7)>>3];
|
// In the editor, gotpic is only referenced from inline assembly;
|
||||||
|
// the compiler needs that hint or building with LTO will discard it.
|
||||||
|
EXTERN char ATTRIBUTE((used)) gotpic[(MAXTILES+7)>>3];
|
||||||
EXTERN char gotsector[(MAXSECTORS+7)>>3];
|
EXTERN char gotsector[(MAXSECTORS+7)>>3];
|
||||||
|
|
||||||
EXTERN char editorcolors[256];
|
EXTERN char editorcolors[256];
|
||||||
|
|
Loading…
Reference in a new issue