diff options
-rw-r--r-- | targets.d/amd64-linux-glibc.mk | 5 | ||||
-rw-r--r-- | targets.d/i686-linux-glibc.mk | 5 | ||||
-rw-r--r-- | targets.d/~none.mk | 2 |
3 files changed, 12 insertions, 0 deletions
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. |