Miscellaneous changes #266

Merged
lucas merged 49 commits from feat/misc into master 2025-07-02 16:25:44 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2b9a03d961 - Show all commits

View file

@ -27,7 +27,6 @@ fn main() {
let mut copy_options = CopyOptions::new();
copy_options.overwrite = true;
dir::copy(&luajit_dir, &out_dir, &copy_options).unwrap();
fs::copy(format!("etc/Makefile"), format!("{}/Makefile", &src_dir)).unwrap();
let mut buildcmd = Command::new(msvcbuild_bat);
for (name, value) in cl_exe.env() {
@ -58,6 +57,7 @@ fn main() {
let mut copy_options = CopyOptions::new();
copy_options.overwrite = true;
dir::copy(&luajit_dir, &out_dir, &copy_options).unwrap();
fs::copy(format!("etc/Makefile"), format!("{}/Makefile", &src_dir)).unwrap();
let mut buildcmd = Command::new("make");
buildcmd.current_dir(&src_dir);

View file

@ -207,7 +207,7 @@ HOST_ACFLAGS= $(CCOPTIONS) $(HOST_XCFLAGS) $(TARGET_ARCH) $(HOST_CFLAGS)
HOST_ALDFLAGS= $(LDOPTIONS) $(HOST_XLDFLAGS) $(HOST_LDFLAGS)
HOST_ALIBS= $(HOST_XLIBS) $(LIBS) $(HOST_LIBS)
STATIC_CC = $(CROSS)$(CC)
STATIC_CC = $(CROSS)$(CC) -fPIC
DYNAMIC_CC = $(CROSS)$(CC) -fPIC
TARGET_CC= $(STATIC_CC)
TARGET_STCC= $(STATIC_CC)