Commit Graph

4 Commits

Author SHA1 Message Date
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Sergei Trofimovich
e686d3e812 _0verkill: add -fcommon workaround for gcc-10
Without the change the build against upstream gcc-10 build fails as:

     ld: sprite.o:/build/0verkill/data.h:171: multiple definition of `obj_attr'; server.o:/build/0verkill/data.h:171: first defined here
     ld: sprite.o:/build/0verkill/data.h:142: multiple definition of `weapon_name'; server.o:/build/0verkill/data.h:142: first defined here

Use -fcommon as a workeround until upstream updates the code.
2022-05-12 08:03:32 +01:00
Malo Bourgon
9b03a74fb5 0verkill: fix darwin build 2021-05-12 10:01:12 -07:00
AndersonTorres
70bcde4329 0verkill: init at 2011-01-13 2021-02-08 09:38:48 +01:00