Skip to content

Commit

Permalink
UnixPB: Ensure CC environment variable is always set for NASM compila…
Browse files Browse the repository at this point in the history
…tion (#3283)

* Ensure CC environment variable is always set.

* Linter fix
  • Loading branch information
steelhead31 authored Dec 8, 2023
1 parent 9968cd1 commit 0f0e099
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@

- name: Running ./configure & make for nasm ( Not Ubuntu 22+ )
shell: cd /tmp/nasm-2.13.03 && CC={{ CC }} && ./configure -prefix=/usr/local && make install
environment:
CC: "{{ CC }}"
when:
- (ansible_distribution != "Ubuntu" or ansible_distribution == "Ubuntu" and ansible_distribution_major_version < "22") and (nasm_installed.rc is defined) and ((nasm_installed.rc != 0 ) or (nasm_installed.rc == 0 and nasm.stdout is version_compare('2.13.03', operator='ne')) )
tags: nasm
Expand Down

0 comments on commit 0f0e099

Please sign in to comment.