From acd7b177d002f416e1ef337b4bc8ed2ed3e1a87f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 18 May 2019 17:33:01 -0400 Subject: targets.d/*.mk: New makefile fragments --- diff --git a/targets.d/amd64-linux-glibc.mk b/targets.d/amd64-linux-glibc.mk new file mode 100644 index 0000000..0bfed2a --- /dev/null +++ b/targets.d/amd64-linux-glibc.mk @@ -0,0 +1,5 @@ +gcc_config_file = i386/linux64.h +gcc_config_interp_macro = GLIBC_DYNAMIC_LINKER64 +gcc_config_fragment = i386/t-linux64 +gcc_config_fragment_script = s|\(m64=.*\):x86_64-linux-gnu|\1:amd64-linux-glibc| +target_opts = diff --git a/targets.d/i686-linux-glibc.mk b/targets.d/i686-linux-glibc.mk new file mode 100644 index 0000000..44a3a47 --- /dev/null +++ b/targets.d/i686-linux-glibc.mk @@ -0,0 +1,5 @@ +gcc_config_file = i386/linux.h +gcc_config_interp_macro = GLIBC_DYNAMIC_LINKER +gcc_config_fragment = i386/t-linux +gcc_config_fragment_script = +target_opts = --with-arch=i686 --with-tune=i686 diff --git a/targets.d/~none.mk b/targets.d/~none.mk new file mode 100644 index 0000000..92ae97f --- /dev/null +++ b/targets.d/~none.mk @@ -0,0 +1,2 @@ +# The "target" macro in the "build" makefile is "~none" in the top-level make +# process, so this blank makefile fragment will be read. -- cgit v0.9.1