summaryrefslogtreecommitdiff
path: root/devel/xopcodecalc/files/patch-gui__source_gui__source.pro
blob: 14868c1567efaef70f6a579ee7fb06e5d710a14a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- gui_source/gui_source.pro.orig	2021-07-28 16:47:13 UTC
+++ gui_source/gui_source.pro
@@ -62,18 +62,18 @@ win32-msvc*{
     }
 }
 
-linux-g++*{
+unix {
     BITSIZE = $$system(getconf LONG_BIT)
     !contains(BITSIZE, 64) {
-        message("Linux gcc x32 build")
+        message("Unix 32-bit build")
         ASM_FILES = ../asm/gcc32.s
     } else {
-        message("Linux gcc x64 build")
+        message("Unix 64-bit build")
         ASM_FILES = ../asm/gcc64.s
     }
 
     preprocess.output = ${QMAKE_FILE_BASE}.o
-    preprocess.commands = gcc -c ${QMAKE_FILE_IN}
+    preprocess.commands = $$QMAKE_CC -c ${QMAKE_FILE_IN}
 }
 
 win32-g++*{