summaryrefslogtreecommitdiffstats
path: root/src/nasm-wrapper (follow)
Commit message (Collapse)AuthorAgeFilesLines
* nasm-wrapper: Exclude --coverage flag from being passed to nasmConnor Fawcett2024-06-251-1/+1
| | | | | | | | | A previous fix for compiling with gcov code coverage enabled forgot to stop the --coverage flag being passed to nasm during compile, this breaks compilation as nasm doesn't recognise this flag. Fixes: https://tracker.ceph.com/issues/66601 Signed-off-by: Connor Fawcett <connorfa@uk.ibm.com>
* nasm-wrapper: ignore -O flags passedDuncan Bellamy2022-03-131-0/+4
| | | | | Fixes: https://tracker.ceph.com/issues/54545 Signed-off-by: Duncan Bellamy <dunk@denkimushi.com>
* nasm-wrapper: use += for appending string to a variableKefu Chai2021-03-091-3/+3
| | | | | | less repeating, better readablity Signed-off-by: Kefu Chai <kchai@redhat.com>
* nasm-wrapper: swallow -MD optionKefu Chai2021-03-091-0/+7
| | | | | | | | | | see also - https://discourse.cmake.org/t/cmake-generating-invalid-ninja-build-rules-for-asm/1389 - https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4460 - https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4838 Signed-off-by: Kefu Chai <kchai@redhat.com>
* nasm-wrapper: Make nasm-wrapper OS independentWillem Jan Withagen2020-11-281-1/+3
| | | | Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
* cmake: wrapper nasm as assembler to deal with some optionsChangcheng Liu2020-10-291-0/+41
1. unify some options, such as "-I -isystem" 2. ignore some known options, such as "-W*" 3. ignore some unknown options, such as '-fPIC" Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>