diff --git a/packages/gcc/10.2.0/compile b/packages/gcc/10.2.0/compile index c2957d8..b381537 100644 --- a/packages/gcc/10.2.0/compile +++ b/packages/gcc/10.2.0/compile @@ -13,7 +13,7 @@ case "${PISTON_LANGUAGE}" in g++ -std=c++17 *.cpp ;; d) - rename 's/$/\.d/' "$@" # Add .d extension + rename 's/.code$/\.d/' "$@" # Add .d extension gdc *.d ;; *)