Commit Graph

3 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
b125089f5a alan_2: add -fcommon workaround for gcc-10
Without the change the build against upstream gcc-10 build fails as:

    ld: smScSema.o:/build/source/compiler/smScSema.c:135:
        multiple definition of `charset'; options.o:/build/source/compiler/options.c:16: first defined here

Use -fcommon as a workeround until upstream updates the code.
2022-05-12 08:22:23 +01:00
Neil Mayhew
b0de2214e5 alan_2: init at 2.8.7 2022-04-17 13:46:24 -06:00