Commit Graph

17 Commits

Author SHA1 Message Date
pancake aa7de006e6 Fix TinyCC build ##build 2020-09-27 13:33:26 +08:00
Sergei Trofimovich ca91720aed mk: allow AR override
To ease cross-development Gentoo alows installing only fully
qualified toolchains tools:
    x86_64-pc-linux-gnu-ar
and similar.

The change allow overriding RANLIB variable similar
to existing CC, HOST_CC, LD and friends.

Reported-by: Agostino Sarubbo
Bug: https://bugs.gentoo.org/720700
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-05-25 12:51:43 +08:00
Sergei Trofimovich 843cc238f3 mk: allow RANLIB override
To ease cross-development Gentoo alows installing only fully
qualified toolchains tools:
    x86_64-pc-linux-gnu-ranlib
and similar.

The change allow overriding RANLIB variable similar
to existing CC, HOST_CC, LD and friends.

Reported-by: Agostino Sarubbo
Bug: https://bugs.gentoo.org/720700
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-05-25 12:51:43 +08:00
radare c93c094c40
Fix android-static ##build 2019-08-01 04:39:40 +02:00
Johannes 5151ebb783 Makefile: use ${LD} or ${CROSS}ld instead of ld (#9720) 2018-03-19 11:39:02 +08:00
whitequark dcd1ef1c6b Rework makefiles to make ${PARTIALLD} available. 2018-01-11 23:09:22 +01:00
whitequark f552b65ddf Rework makefiles so that ${CROSS} contains cross tool prefix.
Useful for e.g. invoking ${CROSS}ld -r.
While we're at it, make sure ${AR} always points to the cross tool.
2018-01-11 23:09:22 +01:00
XVilka 381c9fbd6a Unify -fPIC handling, improve windows building 2015-10-09 18:58:03 +03:00
Anton Kochkov 445dde9ba8 More improvements for cygwin and mingw32 building 2014-07-10 02:21:41 +04:00
Anton Kochkov 5921a415dc Disable -fPIC for cygwin builds 2014-06-25 17:42:19 +04:00
pancake/n900 f7ca7d23ff * Fix build with TCC (tiny C compiler) 2011-06-15 23:53:56 +02:00
pancake 7df412ae25 * Fix build on W32
* Added --without-magic flag
2011-03-10 11:36:16 +01:00
pancake 9dc6a049b1 * Fix make -j for paralel builds
- use hacky 'waitfordeps.sh' helper script
  - speed up the build process
* Do not build libr2.so by default
  - Do not generate library archives (.a)
  - Fix build dependencies in vm/p/plugins.h
* Added --with-nonpic
  - Enable the .a generation
2010-10-29 03:10:10 +02:00
Nibble 414f5a38bc * More fixes on build system
- 'make mrproper' now works like 'hg purge --all'
  - More fixes on 'make clean'
  - Remove some missing -Wl,-R
2010-06-15 14:10:42 +02:00
pancake 728bd1f817 * Fix w32 build 2010-03-25 10:18:59 +01:00
pancake 8fbe0be140 * Add --without-pic configure flag to build radare2
without PIC code (only static libraries, and link binaries)
  - Fix linking order dependencies
* Fix some missing EXT_EXE
* Add some definitions to make debug_ptrace register work
  on Solaris and *BSD (no windows yet)
  - Some fixes for mips, x86, x86-64, arm and powerpc
* Initial import of rsc2
  - Added intel2att rsc2 sample script
2010-01-21 21:22:30 +01:00
pancake 99f284f358 * Some work for r_bininfo library
- Extend API to get file and line numbers from a virtual address
  - Added addr2line-like test program 'rabini'
  - Added 'addr2line' plugin
* Add r_file_slurp_line helper in r_util
* Added initial work to support multiple compilers (gcc only atm)
  - tcc support under development
  - Make HAVE_REGEXP be optional
2009-03-22 04:37:46 +00:00