kopia lustrzana https://github.com/jaseg/gerbolyze
svg-flatten: Bump WASI SDK to v20 and fix build
rodzic
0ae1da08cc
commit
348409a29e
|
@ -10,8 +10,8 @@ CACHEDIR ?= cache
|
|||
PREFIX ?= /usr/local
|
||||
UPSTREAM_DIR ?= upstream
|
||||
|
||||
WASI_SDK ?= wasi-sdk-11.0
|
||||
WASI_SDK_URL ?= https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-11/wasi-sdk-11.0-linux.tar.gz
|
||||
WASI_SDK ?= wasi-sdk-20.0
|
||||
WASI_SDK_URL ?= https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz
|
||||
WASI_SDK_PATH ?= $(CACHEDIR)/$(WASI_SDK)
|
||||
WASI_CXX ?= $(WASI_SDK_PATH)/bin/clang++ --sysroot=$(WASI_SDK_PATH)/share/wasi-sysroot
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#ifndef WASI
|
||||
#include <filesystem>
|
||||
#endif
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <fstream>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <cmath>
|
||||
#include <numbers>
|
||||
|
||||
#include <gerbolyze.hpp>
|
||||
#include "svg_import_defs.h"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#ifndef NOFORK
|
||||
#include <pwd.h>
|
||||
#include <subprocess.h>
|
||||
#endif
|
||||
#include <filesystem>
|
||||
#endif
|
||||
|
||||
#include "util.h"
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue