  In this paper, we investigate anisotropic static spherically symmetric
solutions in the framework of $f(\mathcal{G})$ gravity through gravitational
decoupling approach. For this purpose, we consider Krori and Barua (known
solution) isotropic interior solution for static spherically symmetric
self-gravitating system and extend it to two types of anisotropic solutions. We
examine the physical viability of our models through energy conditions, squared
speed of sound and anisotropy parameter. It is found that the first solution is
physically viable as it fulfills the energy bounds as well as stability
criteria while the second solution satisfies all energy bounds but is unstable
at the core of the compact star.
