Skip to content
Snippets Groups Projects

CMake: Fix nasm Linux builds

Merged Tasos Sahanidis requested to merge (removed):cmake_nasm into master

When compiling under Linux with CMake and nasm/yasm enabled, the operation would fail during linking with undefined symbols related to the tmap files. This commit adds support for passing flags to the assembler and passes -DLINUX in order to compile.

After this change, binaries are successfully compiled with either nasm or yasm on Linux systems. Tested on Ubuntu.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading