diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-08-24 11:25:20 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-08-24 18:23:28 +0200 |
commit | ec520d584095db22f5ba050082bf19c1474f8f08 (patch) | |
tree | 90fd66a8ae3870ac36846e452622d365004fbb43 | |
parent | c58649e50879c513b0e26e04de9f9fcf176d70bd (diff) | |
download | justbuild-ec520d584095db22f5ba050082bf19c1474f8f08.tar.gz |
lzma: Add missing defines
-rw-r--r-- | etc/defaults/CC/TARGETS.lzma | 6 | ||||
-rw-r--r-- | etc/import/TARGETS.lzma | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/etc/defaults/CC/TARGETS.lzma b/etc/defaults/CC/TARGETS.lzma index 0885125f..7e5d565d 100644 --- a/etc/defaults/CC/TARGETS.lzma +++ b/etc/defaults/CC/TARGETS.lzma @@ -9,6 +9,12 @@ , "-DHAVE__BOOL" , "-DHAVE_STDINT_H" , "-DHAVE_INTTYPES_H" + , "-DHAVE_CHECK_CRC32" + , "-D_GNU_SOURCE" + , "-D__EXTENSIONS__" + , "-D_POSIX_PTHREAD_SEMANTICS" + , "-D_TANDEM_SOURCE" + , "-D_ALL_SOURCE" ] } } diff --git a/etc/import/TARGETS.lzma b/etc/import/TARGETS.lzma index ddb87d41..8c25dc3d 100644 --- a/etc/import/TARGETS.lzma +++ b/etc/import/TARGETS.lzma @@ -121,7 +121,6 @@ , "cond": {"type": "var", "name": "ENABLE_SMALL"} , "then": ["-DHAVE_SMALL"] } - , ["-DHAVE_CHECK_CRC32"] , { "type": "if" , "cond": {"type": "var", "name": "ADDITIONAL_CHECK_TYPES"} , "then": ["-DHAVE_CHECK_CRC64", "-DHAVE_CHECK_SHA256"] |