From: "Илья Курдюков" <ilyakurdyukov@basealt.ru> To: devel@lists.altlinux.org Subject: [devel] cmake затирает уровень оптимизации опцией по умолчанию Date: Sat, 16 Oct 2021 22:46:19 +0700 Message-ID: <efb0262c-73a0-a08c-d8d4-6e63e2e18fe5@basealt.ru> (raw) In-Reply-To: <f8bc94ec-1623-0ebf-e117-1e4a46efb235@basealt.ru> Заметил при сборке python3-module-PySide2, что макрос %cmake устанавливает CMAKE_CXX_FLAGS, в который включается -O%_optlevel. Но потом этот -On затирается флагом -O2, который содержится в CMAKE_CXX_FLAGS_RELEASE ("-O2 -DNDEBUG" по умолчанию). Не надо ли тогда в %cmake добавить -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" ?
next prev parent reply other threads:[~2021-10-16 15:46 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-16 13:54 ` [devel] Fwd: [#287372] FAILED del=glibc Anton Farygin 2021-10-16 15:46 ` Илья Курдюков [this message] 2021-10-16 16:02 ` [devel] cmake затирает уровень оптимизации опцией по умолчанию Arseny Maslennikov 2021-10-16 17:17 ` Arseny Maslennikov 2021-10-16 17:53 ` [devel] Fwd: [#287372] FAILED del=glibc arbars 2021-10-18 16:29 ` Gleb Fotengauer-Malinovskiy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=efb0262c-73a0-a08c-d8d4-6e63e2e18fe5@basealt.ru \ --to=ilyakurdyukov@basealt.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git