mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Fix the C++ build on Linux with LTO.
git-svn-id: https://svn.eduke32.com/eduke32@3137 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
27a39f1982
commit
abc3fa4e8d
3 changed files with 5 additions and 1 deletions
|
@ -524,9 +524,11 @@ $(OBJ)/editor_banner.$o: $(RSRC)/editor_banner.c
|
||||||
|
|
||||||
$(RSRC)/game_banner.c: $(RSRC)/game.bmp
|
$(RSRC)/game_banner.c: $(RSRC)/game.bmp
|
||||||
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
||||||
|
echo "extern const GdkPixdata startbanner_pixdata;" >> $@
|
||||||
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
||||||
$(RSRC)/editor_banner.c: $(RSRC)/build.bmp
|
$(RSRC)/editor_banner.c: $(RSRC)/build.bmp
|
||||||
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
||||||
|
echo "extern const GdkPixdata startbanner_pixdata;" >> $@
|
||||||
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
||||||
|
|
||||||
# PHONIES
|
# PHONIES
|
||||||
|
|
|
@ -357,9 +357,11 @@ $(OBJ)/%.$o: $(RSRC)/%.c
|
||||||
|
|
||||||
$(OBJ)/editor_banner.$o: $(RSRC)/editor_banner.c
|
$(OBJ)/editor_banner.$o: $(RSRC)/editor_banner.c
|
||||||
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
||||||
|
echo "extern const GdkPixdata startbanner_pixdata;" >> $@
|
||||||
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
||||||
$(RSRC)/editor_banner.c: $(RSRC)/build.bmp
|
$(RSRC)/editor_banner.c: $(RSRC)/build.bmp
|
||||||
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
echo "#include <gdk-pixbuf/gdk-pixdata.h>" > $@
|
||||||
|
echo "extern const GdkPixdata startbanner_pixdata;" >> $@
|
||||||
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
gdk-pixbuf-csource --extern --struct --raw --name=startbanner_pixdata $^ | sed 's/load_inc//' >> $@
|
||||||
|
|
||||||
# PHONIES
|
# PHONIES
|
||||||
|
|
|
@ -224,7 +224,7 @@ static int16_t maphacklight[PR_MAXLIGHTS];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// forward refs
|
// forward refs
|
||||||
inline int32_t getscreenvdisp(int32_t bz, int32_t zoome);
|
int32_t getscreenvdisp(int32_t bz, int32_t zoome);
|
||||||
void screencoords(int32_t *xres, int32_t *yres, int32_t x, int32_t y, int32_t zoome);
|
void screencoords(int32_t *xres, int32_t *yres, int32_t x, int32_t y, int32_t zoome);
|
||||||
|
|
||||||
static void scansector(int16_t sectnum);
|
static void scansector(int16_t sectnum);
|
||||||
|
|
Loading…
Reference in a new issue