Merge pull request #176064 from trofi/workaround-fno-common-for-wml
wml: add -fcommon workaround
This commit is contained in:
commit
6dcaf4e873
@ -28,6 +28,10 @@ perlPackages.buildPerlPackage {
|
||||
|
||||
patches = [ ./redhat-with-thr.patch ./dynaloader.patch ./no_bitvector.patch ];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: iselect_browse.o:(.bss+0x2020): multiple definition of `Line'; iselect_main.o:(.bss+0x100000): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user