raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <bofh@yhbt.net>
To: raindrops-public@yhbt.net
Subject: [PATCH 1/3] ext/raindrops/extconf: fix cflags reset on ancient CC
Date: Mon,  6 Jan 2020 09:54:49 +0000	[thread overview]
Message-ID: <20200106095451.550-2-bofh@yhbt.net> (raw)
In-Reply-To: <20200106095451.550-1-bofh@yhbt.net>

Oops, but I guess nobody uses i386 anymore...
---
 ext/raindrops/extconf.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/raindrops/extconf.rb b/ext/raindrops/extconf.rb
index 7570f24..792e509 100644
--- a/ext/raindrops/extconf.rb
+++ b/ext/raindrops/extconf.rb
@@ -143,7 +143,7 @@
       $defs.push(format("-DHAVE_GCC_ATOMIC_BUILTINS"))
       true
     else
-      prev_cflags = $CFLAGS
+      $CFLAGS = prev_cflags
       false
     end
   end

  reply	other threads:[~2020-01-06  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06  9:54 [PATCH 0/3] misc fixes and a new home Eric Wong
2020-01-06  9:54 ` Eric Wong [this message]
2020-01-06  9:54 ` [PATCH 2/3] fixes for newer rubies Eric Wong
2020-01-06  9:54 ` [PATCH 3/3] replace bogomips.org with yhbt.net Eric Wong
2020-01-06 10:17   ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/raindrops/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200106095451.550-2-bofh@yhbt.net \
    --to=bofh@yhbt.net \
    --cc=raindrops-public@yhbt.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/raindrops.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).