Skip to content

Commit

Permalink
Bail out on too hard compiler option "-fmodules"
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosdahl committed Mar 8, 2015
1 parent 38301c0 commit 8955f49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Bug fixes

- Avoid performing an unnecessary copy of the object file on a cache miss.

- Bail out on too hard compiler option `-fmodules`.


ccache 3.2.1
------------
Expand Down
3 changes: 2 additions & 1 deletion compopt.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2010, 2012-2013 Joel Rosdahl
* Copyright (C) 2010-2015 Joel Rosdahl
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
Expand Down Expand Up @@ -56,6 +56,7 @@ static const struct compopt compopts[] = {
{"-arch", TAKES_ARG},
{"-aux-info", TAKES_ARG},
{"-b", TAKES_ARG},
{"-fmodules", TOO_HARD},
{"-fno-working-directory", AFFECTS_CPP},
{"-frepo", TOO_HARD},
{"-ftest-coverage", TOO_HARD}, /* generates a .gcno file at the same time */
Expand Down

0 comments on commit 8955f49

Please sign in to comment.