final raspi flags
This commit is contained in:
parent
3671cf403f
commit
356c72749d
2 changed files with 8 additions and 3 deletions
|
@ -737,6 +737,11 @@ config("compiler") {
|
|||
}
|
||||
}
|
||||
|
||||
if (is_linux && current_cpu == "arm64") {
|
||||
cflags += [ "-O3", ]
|
||||
ldflags += [ "-Wl,-O3", ]
|
||||
}
|
||||
|
||||
# This flag causes LTO to create an .ARM.attributes section with the correct
|
||||
# architecture. This is necessary because LLD will refuse to link a program
|
||||
# unless the architecture revision in .ARM.attributes is sufficiently new.
|
||||
|
@ -2008,8 +2013,8 @@ if (is_win) {
|
|||
# TODO(thakis): Add LTO/PGO clang flags eventually, https://crbug.com/598772
|
||||
}
|
||||
} else {
|
||||
common_optimize_on_cflags = []
|
||||
common_optimize_on_ldflags = []
|
||||
common_optimize_on_cflags = [ "-O3", ]
|
||||
common_optimize_on_ldflags = [ "-Wl,-O3", ]
|
||||
|
||||
if (is_android) {
|
||||
# TODO(jdduke) Re-enable on mips after resolving linking
|
||||
|
|
|
@ -174,7 +174,7 @@ stage_install_common() {
|
|||
install -m 644 "${OUTPUTDIR}/libffmpeg.so" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
install -m 644 "${OUTPUTDIR}/libffmpeg.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m 644 "${OUTPUTDIR}/libblink_test_plugin.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m 644 "${OUTPUTDIR}/ClearKeyCdm/_platform_specific/linux_x64/libclearkeycdm.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m 644 "${OUTPUTDIR}/ClearKeyCdm/_platform_specific/linux_${ARCHITECTURE}/libclearkeycdm.so" "${STAGEDIR}/${INSTALLDIR}/lib"
|
||||
install -m 644 "${OUTPUTDIR}/thorium_shell.png" "${STAGEDIR}/${INSTALLDIR}/"
|
||||
install -m 644 "${OUTPUTDIR}/thorium-shell.desktop" "${STAGEDIR}/usr/share/applications/"
|
||||
install -m 755 "${OUTPUTDIR}/thorium-shell" "${STAGEDIR}/usr/bin/"
|
||||
|
|
Loading…
Reference in a new issue