summaryrefslogtreecommitdiffstats
path: root/conf/machine-sdk/include/mingw32-common.inc
Commit message (Collapse)AuthorAgeFilesLines
* Remove security flags from GCCPIESamuli Piippo2018-11-201-0/+3
| | | | | | | | GCCPIE defaults to "--enable-default-pie" in security_flags.inc, which breaks Windows binaries. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
* mingw32-common: only export WINDRES/RC for SDK buildyocto-2.6.1thud-20.0.1Changqing Li2018-11-051-2/+5
| | | | | | | | | | | | | | | | | | | | | Fix below problem: MACHINE=intel-x86-64 SDKMACHINE = "i686-mingw32" bitbake freetype do_compile failed with below error: x86_64-wrs-linux-libtool: compile: x86_64-wrs-linux-windres --include-dir=work/corei7-64-wrs-linux/freetype/2.9.1-r0/recipe-sysroot/usr/include /work/corei7-64-wrs-linux/freetype/2.9.1-r0/freetype-2.9.1/src/base/ftver.rc -o work/corei7-64-wrs-linux/freetype/2.9.1-r0/build/.libs/ftver.o work/corei7-64-wrs-linux/freetype/2.9.1-r0/build//x86_64-wrs-linux-libtool: line 1752: x86_64-wrs-linux-windres: command not found we don't want to use windres for target build, only export WINDRES/RC when build SDK. SDK_OS = "mingw32", so use this override to fix it. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* machine-sdk: set the nativesdk libc to libc-mingwRoss Burton2018-04-271-0/+1
| | | | | | | We need to set this so that the override for nativesdk builds using MinGW don't think they're using glibc. Signed-off-by: Ross Burton <ross.burton@intel.com>
* machine-sdk: split out common configurationRoss Burton2018-04-271-0/+36
Signed-off-by: Ross Burton <ross.burton@intel.com>