Skip to content

Commit

Permalink
Be able to build also for windows < vista
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz authored and Marco van Wieringen committed Feb 17, 2015
1 parent 5e0b0d5 commit 9988628
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion platforms/win32/winbareos32.spec
@@ -1,12 +1,14 @@
# If versionstring contains debug, enable debug during build
%define WIN_DEBUG %(echo %version | grep debug >/dev/null 2>&1 && echo "yes" || echo "no")

# If versionstring contains prevista, build for windows < vista
%define WIN_VISTACOMPAT %(echo %version | grep prevista >/dev/null 2>&1 && echo "no" || echo "yes")

# Determine Windows Version (32/64) from name (mingw32-.../ming64-...)
%define WIN_VERSION %(echo %name | grep 64 >/dev/null 2>&1 && echo "64" || echo "32")

# Set what to build
%define BUILD_QTGUI yes
%define WIN_VISTACOMPAT yes

%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
Expand Down
4 changes: 3 additions & 1 deletion platforms/win32/winbareos64.spec
@@ -1,12 +1,14 @@
# If versionstring contains debug, enable debug during build
%define WIN_DEBUG %(echo %version | grep debug >/dev/null 2>&1 && echo "yes" || echo "no")

# If versionstring contains prevista, build for windows < vista
%define WIN_VISTACOMPAT %(echo %version | grep prevista >/dev/null 2>&1 && echo "no" || echo "yes")

# Determine Windows Version (32/64) from name (mingw32-.../ming64-...)
%define WIN_VERSION %(echo %name | grep 64 >/dev/null 2>&1 && echo "64" || echo "32")

# Set what to build
%define BUILD_QTGUI yes
%define WIN_VISTACOMPAT yes

%define __strip %{_mingw64_strip}
%define __objdump %{_mingw64_objdump}
Expand Down

0 comments on commit 9988628

Please sign in to comment.