diff options
author | CoprDistGit <infra@openeuler.org> | 2025-01-05 12:14:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-01-05 12:14:17 +0000 |
commit | 683ec31770a8e8495afc7c985c7ee1c7c6dda465 (patch) | |
tree | 9fc1942a9552008ca4f284369a7d8942b6d58db3 | |
parent | 6b833eac43a79bf46c911bedbc96a8f7fef252f7 (diff) |
automatic import of qscintilla
-rw-r--r-- | qscintilla.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qscintilla.spec b/qscintilla.spec index 87ddbc3..80ad5b4 100644 --- a/qscintilla.spec +++ b/qscintilla.spec @@ -78,8 +78,12 @@ pushd Python --sip=/usr/bin/sip-pyqt5 \ --qsci-incdir=../Qt4Qt5 --qsci-libdir=../Qt4Qt5 cat Makefile +sed -i \ + -e 's,(^CXXFLAGS.*),\1 %{build_cxxflags},' \ + -e 's,(^LFLAGS.*),\1 %{build_ldflags},' \ + Qsci/Makefile cat Qsci/Makefile -%make_build QMAKE_LFLAGS_RELEASE=%{_qt5_ldflags} QMAKE_CXXFLAGS_RELEASE=%{_qt5_cxxflags} +%make_build popd %install |