summaryrefslogtreecommitdiff
path: root/keyboards/lily58
diff options
context:
space:
mode:
authorJonathan Rascher <jon@bcat.name>2019-10-28 20:08:48 -0500
committerJoel Challis <git@zvecr.com>2019-10-29 01:08:48 +0000
commitafc5cb7f0abafd75c178b188a5fc1b9138fba956 (patch)
treef70a65ed4e6faaff7ea095746ccd310f42020483 /keyboards/lily58
parente48fdebe5a351772c4f34b201130271a42c1496d (diff)
Fix Lily58 build with link-time optimization (#7181)
Diffstat (limited to 'keyboards/lily58')
-rw-r--r--keyboards/lily58/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/lily58/config.h b/keyboards/lily58/config.h
index fb1cdf3962..50bf2beb32 100644
--- a/keyboards/lily58/config.h
+++ b/keyboards/lily58/config.h
@@ -24,5 +24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_I2C
#define USE_SERIAL
-#define NO_ACTION_MACRO
-#define NO_ACTION_FUNCTION
+#if !defined(NO_ACTION_MACRO)
+ #define NO_ACTION_MACRO
+#endif
+#if !defined(NO_ACTION_FUNCTION)
+ #define NO_ACTION_FUNCTION
+#endif