| author | |
| committer | |
| log | 1c23321d03a48558b02c2faf818b82811b8ab11d |
| tree | e0ec9fac44baf07886c85eb84ea9908b27c22479 |
| parent | 166db1a3ed7eca9b04b0626eaea8de0634ab9667 |
needed to include platform.h in more places so that LITTLEENDIAN will be
defined appropriately.
closes #108603 files changed, 5 insertions(+), 0 deletions(-)
CMakeLists.txt+3| ... | @@ -791,6 +791,9 @@ add_library(opt_c_util STATIC ${OPTIMIZED_C_SOURCES}) | ... | @@ -791,6 +791,9 @@ add_library(opt_c_util STATIC ${OPTIMIZED_C_SOURCES}) |
| 791 | set_target_properties(opt_c_util PROPERTIES | 791 | set_target_properties(opt_c_util PROPERTIES |
| 792 | COMPILE_FLAGS "${OPTIMIZED_C_FLAGS}" | 792 | COMPILE_FLAGS "${OPTIMIZED_C_FLAGS}" |
| 793 | ) | 793 | ) |
| 794 | target_include_directories(opt_c_util PRIVATE | ||
| 795 | "${CMAKE_SOURCE_DIR}/deps/SoftFloat-3e-prebuilt" | ||
| 796 | ) | ||
| 794 | 797 | ||
| 795 | add_library(zigstage1 STATIC ${STAGE1_SOURCES}) | 798 | add_library(zigstage1 STATIC ${STAGE1_SOURCES}) |
| 796 | set_target_properties(zigstage1 PROPERTIES | 799 | set_target_properties(zigstage1 PROPERTIES |
deps/SoftFloat-3e/source/include/primitiveTypes.h+1| ... | @@ -37,6 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ... | @@ -37,6 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 37 | #ifndef primitiveTypes_h | 37 | #ifndef primitiveTypes_h |
| 38 | #define primitiveTypes_h 1 | 38 | #define primitiveTypes_h 1 |
| 39 | 39 | ||
| 40 | #include "platform.h" | ||
| 40 | #include <stdint.h> | 41 | #include <stdint.h> |
| 41 | 42 | ||
| 42 | #ifdef SOFTFLOAT_FAST_INT64 | 43 | #ifdef SOFTFLOAT_FAST_INT64 |
deps/SoftFloat-3e/source/include/softfloat_types.h+1| ... | @@ -37,6 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ... | @@ -37,6 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 37 | #ifndef softfloat_types_h | 37 | #ifndef softfloat_types_h |
| 38 | #define softfloat_types_h 1 | 38 | #define softfloat_types_h 1 |
| 39 | 39 | ||
| 40 | #include "platform.h" | ||
| 40 | #include <stdint.h> | 41 | #include <stdint.h> |
| 41 | 42 | ||
| 42 | /*---------------------------------------------------------------------------- | 43 | /*---------------------------------------------------------------------------- |