summaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorRory OConnell <[email protected]>2020-09-01 16:15:45 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 18:20:14 +0900
commit5592c7413a22c605ae3acaa71c36947b43f78ac6 (patch)
treec8c0b8e98d74958be73bc56cf3bc0dd643603361 /tasks
parentfff0f17b490c70e4b99e7118d8c329939a9ebf1f (diff)
downloadmruby-5592c7413a22c605ae3acaa71c36947b43f78ac6.tar.gz
mruby-5592c7413a22c605ae3acaa71c36947b43f78ac6.zip
Remove compiler feature detection
Diffstat (limited to 'tasks')
-rw-r--r--tasks/toolchains/gcc.rake2
1 files changed, 0 insertions, 2 deletions
diff --git a/tasks/toolchains/gcc.rake b/tasks/toolchains/gcc.rake
index 3d55e6171..810f23b7a 100644
--- a/tasks/toolchains/gcc.rake
+++ b/tasks/toolchains/gcc.rake
@@ -31,8 +31,6 @@ MRuby::Toolchain.new(:gcc) do |conf, params|
end
[[conf.cc, 'c'], [conf.cxx, 'c++']].each do |cc, lang|
- cc.defines += %w(HAS_MALLOC_TRIM) if cc.has_function? 'malloc_trim', with_header: 'malloc.h'
-
cc.instance_variable_set :@header_search_language, lang
def cc.header_search_paths
if @header_search_command != command