Commit d5c86c91 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

os2: package: fix build

```--
  CCLD     libvlccore.la
weakld: error: Unresolved symbol (UNDEF) '___atomic_fetch_add_8'.
weakld: info: The symbol is referenced by:
    P:\tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj
    P:\tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj
weakld: error: Unresolved symbol (UNDEF) '___atomic_store_8'.
weakld: info: The symbol is referenced by:
    P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
weakld: error: Unresolved symbol (UNDEF) '___atomic_load_8'.
weakld: info: The symbol is referenced by:
    P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: ___atomic_fetch_add_8 is an undefined reference
Error! E2028: ___atomic_store_8 is an undefined reference
Error! E2028: ___atomic_load_8 is an undefined reference
file P:/tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj(ldconv_decoder_o_85b55a37ad3f1d59f8.obj): undefined symbol ___atomic_fetch_add_8
file P:/tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj(ldconv_es_out_o_85b55a37ad3f1d7938.obj): undefined symbol ___atomic_fetch_add_8
file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_store_8
file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_load_8
```

--
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent d8118048
......@@ -41,7 +41,7 @@ OPTIONS="
--enable-vlc
"
export ARCHFLAGS=${ARCHFLAGS-"-march=i486"}
export ARCHFLAGS=${ARCHFLAGS-"-march=i686"}
export CFLAGS="${CFLAGS} ${ARCHFLAGS} -std=gnu11"
export CXXFLAGS="${CXXFLAGS} ${ARCHFLAGS} -std=gnu++11"
export BUILDCC="gcc -std=gnu11"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment