pkg/archlinux: add mingw-w64-waffle package
- Remove explicit build options (waffle has autodetection).
- Correct the destination directories.
- Bump mingw64-crt requirement 3.1.0-3 (fixes the strerror_s issue).
- Build twice - once for cross-builds and second time for win32 usage.
TODO:
- Get CPack to amend the install prefix - fix the "build twice" issue.
- Strip some/all of the binaries ?
- Current package works of a local git repo. Rename to -git or
convert to a release one ?
v2:
- Use single leading underscore for local variables.
- Read user _srcroot if available.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>