Commit | Line | Data |
---|---|---|
698b1561 VB |
1 | --- ./qtbase/mkspecs/linux-termux-clang/qmake.conf 1970-01-01 05:30:00.000000000 +0530 |
2 | +++ ./qtbase/mkspecs/linux-termux-clang/qmake.conf 2017-07-14 23:06:45.553367565 +0530 | |
3 | @@ -0,0 +1,32 @@ | |
4 | +MAKEFILE_GENERATOR = UNIX | |
5 | +CONFIG += incremental unversioned_libname unversioned_soname plugin_with_soname qt | |
6 | +QMAKE_INCREMENTAL_STYLE = sublib | |
7 | + | |
8 | +include(../common/linux.conf) | |
9 | +include(../common/gcc-base-unix.conf) | |
10 | +include(../common/clang.conf) | |
11 | + | |
12 | +QMAKE_CC = @TERMUX_HOST_PLATFORM@-clang | |
13 | +QMAKE_CXX = @TERMUX_HOST_PLATFORM@-clang++ | |
14 | +QMAKE_LINK = @TERMUX_HOST_PLATFORM@-clang++ | |
15 | +QMAKE_LINK_SHLIB = @TERMUX_HOST_PLATFORM@-clang++ | |
16 | + | |
17 | +QMAKE_AR = @TERMUX_HOST_PLATFORM@-ar cqs | |
18 | +QMAKE_OBJCOPY = @TERMUX_HOST_PLATFORM@-objcopy | |
19 | +QMAKE_NM = @TERMUX_HOST_PLATFORM@-nm -P | |
20 | +QMAKE_STRIP = @TERMUX_HOST_PLATFORM@-strip | |
21 | + | |
22 | +QMAKE_CFLAGS = @CFLAGS@ | |
23 | +QMAKE_CXXFLAGS = @CXXFLAGS@ | |
24 | +QMAKE_LFLAGS = @LDFLAGS@ | |
25 | + | |
26 | +QMAKE_LFLAGS_APP = -Wl,--no-undefined -Wl,-z,noexecstack -shared | |
27 | +QMAKE_LFLAGS_SHLIB = -Wl,--no-undefined -Wl,-z,noexecstack -shared | |
28 | +QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB | |
29 | +QMAKE_LFLAGS_NOUNDEF = -Wl,--no-undefined | |
30 | + | |
31 | +QMAKE_LIBS_THREAD = | |
32 | +QMAKE_LIBS_X11 = | |
33 | +QMAKE_LIBS_OPENGL = | |
34 | +QMAKE_LIBS_OPENGL_ES2 = -lGLESv3 | |
35 | +load(qt_config) | |
36 | --- ./qtbase/mkspecs/linux-termux-clang/qplatformdefs.h 1970-01-01 05:30:00.000000000 +0530 | |
37 | +++ ./qtbase/mkspecs/linux-termux-clang/qplatformdefs.h 2017-07-14 23:08:02.031153237 +0530 | |
38 | @@ -0,0 +1,43 @@ | |
39 | +/**************************************************************************** | |
40 | +** | |
41 | +** Copyright (C) 2016 The Qt Company Ltd. | |
42 | +** Contact: https://www.qt.io/licensing/ | |
43 | +** | |
44 | +** This file is part of the qmake spec of the Qt Toolkit. | |
45 | +** | |
46 | +** $QT_BEGIN_LICENSE:LGPL$ | |
47 | +** Commercial License Usage | |
48 | +** Licensees holding valid commercial Qt licenses may use this file in | |
49 | +** accordance with the commercial license agreement provided with the | |
50 | +** Software or, alternatively, in accordance with the terms contained in | |
51 | +** a written agreement between you and The Qt Company. For licensing terms | |
52 | +** and conditions see https://www.qt.io/terms-conditions. For further | |
53 | +** information use the contact form at https://www.qt.io/contact-us. | |
54 | +** | |
55 | +** GNU Lesser General Public License Usage | |
56 | +** Alternatively, this file may be used under the terms of the GNU Lesser | |
57 | +** General Public License version 3 as published by the Free Software | |
58 | +** Foundation and appearing in the file LICENSE.LGPL3 included in the | |
59 | +** packaging of this file. Please review the following information to | |
60 | +** ensure the GNU Lesser General Public License version 3 requirements | |
61 | +** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. | |
62 | +** | |
63 | +** GNU General Public License Usage | |
64 | +** Alternatively, this file may be used under the terms of the GNU | |
65 | +** General Public License version 2.0 or (at your option) the GNU General | |
66 | +** Public license version 3 or any later version approved by the KDE Free | |
67 | +** Qt Foundation. The licenses are as published by the Free Software | |
68 | +** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 | |
69 | +** included in the packaging of this file. Please review the following | |
70 | +** information to ensure the GNU General Public License requirements will | |
71 | +** be met: https://www.gnu.org/licenses/gpl-2.0.html and | |
72 | +** https://www.gnu.org/licenses/gpl-3.0.html. | |
73 | +** | |
74 | +** $QT_END_LICENSE$ | |
75 | +** | |
76 | +****************************************************************************/ | |
77 | + | |
78 | +#include "../android-clang/qplatformdefs.h" | |
79 | +#define fseeko64 fseeko | |
80 | +#define ftello64 ftello | |
81 | +#define fopen64 fopen |